diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/statem/statem_clnt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 5fb00803bf..9d4af3ab00 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -1583,8 +1583,10 @@ MSG_PROCESS_RETURN tls_process_key_exchange(SSL *s, PACKET *pkt) save_param_start = *pkt; +#if !defined(OPENSSL_NO_EC) || !defined(OPENSSL_NO_DH) EVP_PKEY_free(s->s3->peer_tmp); s->s3->peer_tmp = NULL; +#endif if (alg_k & SSL_PSK) { if (!tls_process_ske_psk_preamble(s, pkt, &al)) |