diff options
author | Nils Larsch <nils@openssl.org> | 2007-02-07 20:28:19 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2007-02-07 20:28:19 +0000 |
commit | feaaf1dbead77e0f0ef280c60578b318097d3c38 (patch) | |
tree | 0bfa60005c7bc02b6e0cfebb0cc6ae9ee8984747 /ssl | |
parent | 82bf227e9170e144ca143af3d4b970c1500d0884 (diff) |
ensure that a ec key is used
PR: 1476
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |