summaryrefslogtreecommitdiff
path: root/test/ssl_old_test.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-10-15 13:41:59 +1000
committerTomas Mraz <tomas@openssl.org>2021-01-26 15:22:14 +0100
commit5b5eea4b60b682009d2b15587c9ceeae5e9c73f8 (patch)
tree4a3261cb27a582770270a07b40ecf05ecb71c89a /test/ssl_old_test.c
parent98dbf2c1c8143c0cc6dd05be7950d90bc6792064 (diff)
downloadopenssl-new-5b5eea4b60b682009d2b15587c9ceeae5e9c73f8.tar.gz
Deprecate EC_KEY + Update ec apps to use EVP_PKEY
Co-author: Richard Levitte <levitte@openssl.org> Co-author: Tomas Mraz <tmraz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13139)
Diffstat (limited to 'test/ssl_old_test.c')
-rw-r--r--test/ssl_old_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ssl_old_test.c b/test/ssl_old_test.c
index 4114d94917..f63ec67854 100644
--- a/test/ssl_old_test.c
+++ b/test/ssl_old_test.c
@@ -718,6 +718,7 @@ static void sv_usage(void)
static void print_key_details(BIO *out, EVP_PKEY *key)
{
int keyid = EVP_PKEY_id(key);
+#if 0
#ifndef OPENSSL_NO_EC
if (keyid == EVP_PKEY_EC) {
EC_KEY *ec = EVP_PKEY_get1_EC_KEY(key);
@@ -731,6 +732,7 @@ static void print_key_details(BIO *out, EVP_PKEY *key)
BIO_printf(out, "%d bits EC (%s)", EVP_PKEY_bits(key), cname);
} else
#endif
+#endif
{
const char *algname;
switch (keyid) {