mirror of
https://github.com/nginx/nginx.git
synced 2025-06-06 00:42:40 +08:00
SSL: fix call to BIO_get_mem_data().
Fixes build with BoringSSL. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
This commit is contained in:
parent
c40d8ddc5d
commit
592dbcc315
@ -4069,7 +4069,7 @@ ngx_ssl_parse_time(
|
||||
|
||||
BIO_write(bio, "Tue ", sizeof("Tue ") - 1);
|
||||
ASN1_TIME_print(bio, asn1time);
|
||||
len = BIO_get_mem_data(bio, &value);
|
||||
len = BIO_get_mem_data(bio, (char **) &value);
|
||||
|
||||
time = ngx_parse_http_time(value, len);
|
||||
|
||||
|
@ -793,7 +793,7 @@ ngx_ssl_stapling_time(ASN1_GENERALIZEDTIME *asn1time)
|
||||
|
||||
BIO_write(bio, "Tue ", sizeof("Tue ") - 1);
|
||||
ASN1_GENERALIZEDTIME_print(bio, asn1time);
|
||||
len = BIO_get_mem_data(bio, &value);
|
||||
len = BIO_get_mem_data(bio, (char **) &value);
|
||||
|
||||
time = ngx_parse_http_time(value, len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user