udpate Supported Point Formats Extension code

Submitted by: Douglas Stebila
This commit is contained in:
Bodo Möller
2006-03-13 01:24:38 +00:00
parent 6adbcb9755
commit b6acb8d0de
5 changed files with 19 additions and 39 deletions

View File

@@ -359,6 +359,7 @@ int ssl_get_new_session(SSL *s, int session)
#ifndef OPENSSL_NO_EC
if (s->tlsext_ecpointformatlist)
{
if (ss->tlsext_ecpointformatlist != NULL) OPENSSL_free(ss->tlsext_ecpointformatlist);
if ((ss->tlsext_ecpointformatlist = OPENSSL_malloc(s->tlsext_ecpointformatlist_length)) == NULL)
{
SSLerr(SSL_F_SSL_GET_NEW_SESSION, ERR_R_MALLOC_FAILURE);