提交 86377906 编写于 作者: D Dr. Stephen Henson

Fix dynamic public key method lookup.

上级 0b33dac3
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册