projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too
[oweals/openssl.git]
/
crypto
/
evp
/
keymgmt_meth.c
diff --git
a/crypto/evp/keymgmt_meth.c
b/crypto/evp/keymgmt_meth.c
index 6318ddd3fb874d78cd47751b4b67fb57c660f321..03d1686cf3230cee4f9816317355f439e66ed3f2 100644
(file)
--- a/
crypto/evp/keymgmt_meth.c
+++ b/
crypto/evp/keymgmt_meth.c
@@
-212,7
+212,7
@@
int EVP_KEYMGMT_number(const EVP_KEYMGMT *keymgmt)
int EVP_KEYMGMT_is_a(const EVP_KEYMGMT *keymgmt, const char *name)
{
- return evp_is_a(keymgmt->prov, keymgmt->name_id, name);
+ return evp_is_a(keymgmt->prov, keymgmt->name_id,
NULL,
name);
}
void EVP_KEYMGMT_do_all_provided(OPENSSL_CTX *libctx,