From: Nils Larsch Date: Wed, 7 Feb 2007 20:28:19 +0000 (+0000) Subject: ensure that a ec key is used X-Git-Tag: OpenSSL_0_9_8k^2~982 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=feaaf1dbead77e0f0ef280c60578b318097d3c38;p=oweals%2Fopenssl.git ensure that a ec key is used PR: 1476 --- 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 {