diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_srvr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index 9b87dcd067..ce7b243c2d 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
| @@ -1290,6 +1290,7 @@ dtls1_send_server_key_exchange(SSL *s) | |||
| 1290 | (unsigned char *)encodedPoint, | 1290 | (unsigned char *)encodedPoint, |
| 1291 | encodedlen); | 1291 | encodedlen); |
| 1292 | free(encodedPoint); | 1292 | free(encodedPoint); |
| 1293 | encodedPoint = NULL; | ||
| 1293 | p += encodedlen; | 1294 | p += encodedlen; |
| 1294 | } | 1295 | } |
| 1295 | #endif | 1296 | #endif |
| @@ -1397,8 +1398,7 @@ f_err: | |||
| 1397 | ssl3_send_alert(s, SSL3_AL_FATAL, al); | 1398 | ssl3_send_alert(s, SSL3_AL_FATAL, al); |
| 1398 | err: | 1399 | err: |
| 1399 | #ifndef OPENSSL_NO_ECDH | 1400 | #ifndef OPENSSL_NO_ECDH |
| 1400 | if (encodedPoint != NULL) | 1401 | free(encodedPoint); |
| 1401 | free(encodedPoint); | ||
| 1402 | BN_CTX_free(bn_ctx); | 1402 | BN_CTX_free(bn_ctx); |
| 1403 | #endif | 1403 | #endif |
| 1404 | EVP_MD_CTX_cleanup(&md_ctx); | 1404 | EVP_MD_CTX_cleanup(&md_ctx); |
