mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-16 03:19:40 +00:00
Review comments
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2052)
This commit is contained in:
parent
8cbfcc70bf
commit
1ed327f7df
@ -961,7 +961,7 @@ int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (ext_data) {
|
||||
if (ext_data != NULL) {
|
||||
s->ext.session_ticket->length = ext_len;
|
||||
s->ext.session_ticket->data = s->ext.session_ticket + 1;
|
||||
memcpy(s->ext.session_ticket->data, ext_data, ext_len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user