delete unused context
authorDr. Stephen Henson <steve@openssl.org>
Sat, 19 Dec 2015 14:59:40 +0000 (14:59 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 19 Dec 2015 15:04:17 +0000 (15:04 +0000)
Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/statem/statem_srvr.c

index 0b279e70f9550aa398fa2bb9cb3ebe7390be0253..014f211dc4dc70c2b3a804c2b58a8313cbe5491d 100644 (file)
@@ -2125,7 +2125,6 @@ MSG_PROCESS_RETURN tls_process_client_key_exchange(SSL *s, PACKET *pkt)
 #endif
 #ifndef OPENSSL_NO_EC
     EVP_PKEY *ckey = NULL;
-    EVP_PKEY_CTX *pctx = NULL;
 #endif
     PACKET enc_premaster;
     unsigned char *data, *rsa_decrypt = NULL;
@@ -2656,7 +2655,6 @@ MSG_PROCESS_RETURN tls_process_client_key_exchange(SSL *s, PACKET *pkt)
 #endif
 #ifndef OPENSSL_NO_EC
     EVP_PKEY_free(ckey);
-    EVP_PKEY_CTX_free(pctx);
     OPENSSL_free(rsa_decrypt);
 #endif
 #ifndef OPENSSL_NO_PSK