Typos(?) in HEAD/crypto/evp/p_lib.c.

This commit is contained in:
Andy Polyakov 2006-07-04 20:27:44 +00:00
parent 90e1b1fd7d
commit 975efcbaee

View file

@ -161,13 +161,13 @@ int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b)
if (a->type != b->type)
return -1;
if (a->meth)
if (a->ameth)
{
int ret;
/* Compare parameters if the algorithm has them */
if (a->meth->param_cmp)
if (a->ameth->param_cmp)
{
ret = a->meth->param_cmp(a, b);
ret = a->ameth->param_cmp(a, b);
if (ret <= 0)
return ret;
}