summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-05-19 18:17:47 +0200
committerDr. Stephen Henson <steve@openssl.org>2011-05-19 18:17:47 +0200
commit4f7533eb8400e2d7e75da8635edcf869f916ab3c (patch)
tree531a2db3f490df32175b956761ca912c5b936a68 /ssl
parentaesni-x86_64.pl: make it compile on MacOS X. (diff)
downloadopenssl-4f7533eb8400e2d7e75da8635edcf869f916ab3c.tar.xz
openssl-4f7533eb8400e2d7e75da8635edcf869f916ab3c.zip
set encodedPoint to NULL after freeing it
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_srvr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index 0f203ec6b1..286af3a4db 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -1869,6 +1869,7 @@ int ssl3_send_server_key_exchange(SSL *s)
(unsigned char *)encodedPoint,
encodedlen);
OPENSSL_free(encodedPoint);
+ encodedPoint = NULL;
p += encodedlen;
}
#endif