mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 19:10:52 +00: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
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue