Typos(?) in HEAD/crypto/evp/p_lib.c.
authorAndy Polyakov <appro@openssl.org>
Tue, 4 Jul 2006 20:27:44 +0000 (20:27 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 4 Jul 2006 20:27:44 +0000 (20:27 +0000)
crypto/evp/p_lib.c

index 6715c15..249ac2b 100644 (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;
                        }