fix warning

Reviewed-by: Ben Laurie <ben@openssl.org>
This commit is contained in:
Dr. Stephen Henson 2015-12-13 03:01:26 +00:00
parent 7538cb82f9
commit 14e8e4d3e6

View file

@ -2408,7 +2408,6 @@ MSG_PROCESS_RETURN tls_process_client_key_exchange(SSL *s, PACKET *pkt)
if (alg_k & (SSL_kDHE | SSL_kDHr | SSL_kDHd | SSL_kDHEPSK)) {
int idx = -1;
EVP_PKEY *skey = NULL;
PACKET bookmark = *pkt;
unsigned char shared[(OPENSSL_DH_MAX_MODULUS_BITS + 7) / 8];
if (!PACKET_get_net_2(pkt, &i)) {