diff options
Diffstat (limited to 'security/keys/request_key.c')
-rw-r--r-- | security/keys/request_key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/keys/request_key.c b/security/keys/request_key.c index 3f56a312dd35..7a0c6b666ff0 100644 --- a/security/keys/request_key.c +++ b/security/keys/request_key.c | |||
@@ -531,6 +531,7 @@ struct key *request_key_and_link(struct key_type *type, | |||
531 | struct keyring_search_context ctx = { | 531 | struct keyring_search_context ctx = { |
532 | .index_key.type = type, | 532 | .index_key.type = type, |
533 | .index_key.description = description, | 533 | .index_key.description = description, |
534 | .index_key.desc_len = strlen(description), | ||
534 | .cred = current_cred(), | 535 | .cred = current_cred(), |
535 | .match_data.cmp = key_default_cmp, | 536 | .match_data.cmp = key_default_cmp, |
536 | .match_data.raw_data = description, | 537 | .match_data.raw_data = description, |