diff options
Diffstat (limited to 'security/keys/request_key_auth.c')
-rw-r--r-- | security/keys/request_key_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index afc304e8b61e..bda6201c6c45 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c | |||
@@ -247,7 +247,7 @@ struct key *key_get_instantiation_authkey(key_serial_t target_id) | |||
247 | struct key *authkey; | 247 | struct key *authkey; |
248 | key_ref_t authkey_ref; | 248 | key_ref_t authkey_ref; |
249 | 249 | ||
250 | sprintf(description, "%x", target_id); | 250 | ctx.index_key.desc_len = sprintf(description, "%x", target_id); |
251 | 251 | ||
252 | authkey_ref = search_process_keyrings(&ctx); | 252 | authkey_ref = search_process_keyrings(&ctx); |
253 | 253 | ||