Merge tag 'stream_open-5.3' of https://lab.nexedi.com/kirr/linux
[linux-2.6-microblaze.git] / certs / blacklist.c
index f1a8672..ec00bf3 100644 (file)
@@ -124,7 +124,7 @@ int is_hash_blacklisted(const u8 *hash, size_t hash_len, const char *type)
        *p = 0;
 
        kref = keyring_search(make_key_ref(blacklist_keyring, true),
-                             &key_type_blacklist, buffer);
+                             &key_type_blacklist, buffer, false);
        if (!IS_ERR(kref)) {
                key_ref_put(kref);
                ret = -EKEYREJECTED;