From feaaf1dbead77e0f0ef280c60578b318097d3c38 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Wed, 7 Feb 2007 20:28:19 +0000 Subject: [PATCH] ensure that a ec key is used PR: 1476 --- ssl/s3_srvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index f776dc0625..11828d396c 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -2129,7 +2129,7 @@ int ssl3_get_client_key_exchange(SSL *s) if (l & SSL_kECDH) { /* use the certificate */ - tkey = s->cert->key->privatekey->pkey.ec; + tkey = s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec; } else { -- 2.25.1