Deprecate EVP_PKEY_cmp() and EVP_PKEY_cmp_parameters().
[openssl.git] / test / evp_extra_test.c
index 3d63482f64530cf42bbdf70211921c53fd63d7b0..f8fdc7287df3a09259c4443d273e363e4a78eba4 100644 (file)
@@ -2758,7 +2758,7 @@ static int test_ecpub(int idx)
     if (!TEST_ptr(d2i_PublicKey(EVP_PKEY_EC, &pkey2, &q, savelen)))
         goto done;
     /* The keys should match. */
-    if (!TEST_int_eq(EVP_PKEY_cmp(pkey, pkey2), 1))
+    if (!TEST_int_eq(EVP_PKEY_eq(pkey, pkey2), 1))
         goto done;
 # endif