Lines 381-386
Link Here
|
381 |
s->session->tlsext_hostname[len]='\0'; |
381 |
s->session->tlsext_hostname[len]='\0'; |
382 |
if (strlen(s->session->tlsext_hostname) != len) { |
382 |
if (strlen(s->session->tlsext_hostname) != len) { |
383 |
OPENSSL_free(s->session->tlsext_hostname); |
383 |
OPENSSL_free(s->session->tlsext_hostname); |
|
|
384 |
s->session->tlsext_hostname = NULL; |
384 |
*al = TLS1_AD_UNRECOGNIZED_NAME; |
385 |
*al = TLS1_AD_UNRECOGNIZED_NAME; |
385 |
return 0; |
386 |
return 0; |
386 |
} |
387 |
} |