mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Fix dynamic public key method lookup.
This commit is contained in:
parent
0b33dac310
commit
863779065e
@ -139,8 +139,8 @@ const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(int type)
|
||||
if (app_methods)
|
||||
{
|
||||
int idx;
|
||||
idx = sk_find(app_methods, (char *)&t);
|
||||
if (idx > 0)
|
||||
idx = sk_find(app_methods, (char *)&tmp);
|
||||
if (idx >= 0)
|
||||
return (EVP_PKEY_ASN1_METHOD *)
|
||||
sk_value(app_methods, idx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user