diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-05-19 16:18:11 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-05-19 16:18:11 +0000 |
commit | 74bf705ea8cc700236479425ac499b4ed47543a3 (patch) | |
tree | 6b782e4d555aaddee3643d2833fe248f78609e4d /ssl/s3_srvr.c | |
parent | 676cd3a2832a59cb12d973632202fcbfc18c8887 (diff) |
set encodedPoint to NULL after freeing it
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 3107df9d6e..6300d5027a 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1825,6 +1825,7 @@ int ssl3_send_server_key_exchange(SSL *s) (unsigned char *)encodedPoint, encodedlen); OPENSSL_free(encodedPoint); + encodedPoint = NULL; p += encodedlen; } #endif |