projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
732d31b
)
Don't assume a decode error if session tlsext_ecpointformatlist is not NULL: it can...
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Nov 2010 17:37:23 +0000
(17:37 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Nov 2010 17:37:23 +0000
(17:37 +0000)
ssl/t1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/t1_lib.c
b/ssl/t1_lib.c
index 9684280d173f5285ab5189a55cb609afad0cabfb..cdb55bc276034cd18d74f0fbf8d66abdeb37b46d 100644
(file)
--- a/
ssl/t1_lib.c
+++ b/
ssl/t1_lib.c
@@
-816,8
+816,8
@@
int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
{
if(s->session->tlsext_ecpointformatlist)
{
-
*al = TLS1_AD_DECODE_ERROR
;
-
return 0
;
+
OPENSSL_free(s->session->tlsext_ecpointformatlist)
;
+
s->session->tlsext_ecpointformatlist = NULL
;
}
s->session->tlsext_ecpointformatlist_length = 0;
if ((s->session->tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL)