summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-04-23 10:53:03 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-04-27 09:45:53 +1000
commitc85c5e1a5327379306f4c3f8248ace740c64c338 (patch)
treeddd316056c2eb911db89ebfc5eed68910991473f /test
parent990aa405dbf5899cc24c167b4c0a29a3db58e343 (diff)
Deprecate EVP_PKEY_cmp() and EVP_PKEY_cmp_parameters().
The replacement functions EVP_PKEY_eq() and EVP_PKEY_parameters_eq() already exist. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/14997)
Diffstat (limited to 'test')
-rw-r--r--test/evp_extra_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index 3d63482f64..f8fdc7287d 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -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