Commit feaaf1db authored by Nils Larsch's avatar Nils Larsch
Browse files

ensure that a ec key is used

PR: 1476
parent 82bf227e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
			{