set encodedPoint to NULL after freeing it
[openssl.git] / ssl / s3_srvr.c
index 0f203ec..286af3a 100644 (file)
@@ -1869,6 +1869,7 @@ int ssl3_send_server_key_exchange(SSL *s)
                            (unsigned char *)encodedPoint, 
                            encodedlen);
                        OPENSSL_free(encodedPoint);
+                       encodedPoint = NULL;
                        p += encodedlen;
                        }
 #endif