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 6715c154b29c99252e2fddae350e4ad7d39576b5..249ac2bd2a08e1d7fcbc7681ea85b8ae579e4005 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;
                        }