mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 20:14:20 +08:00
parent
8764e86339
commit
47739161c6
@ -102,7 +102,7 @@ static void timestamp_print(BIO *out, BN_ULLONG timestamp)
|
||||
char genstr[20];
|
||||
gen = ASN1_GENERALIZEDTIME_new();
|
||||
ASN1_GENERALIZEDTIME_adj(gen, (time_t)0,
|
||||
timestamp / 86400000,
|
||||
(int)(timestamp / 86400000),
|
||||
(timestamp % 86400000) / 1000);
|
||||
/* Note GeneralizedTime from ASN1_GENERALIZETIME_adj is always 15
|
||||
* characters long with a final Z. Update it with fractional seconds.
|
||||
|
@ -3719,7 +3719,7 @@ int tls1_get_server_supplemental_data(SSL *s)
|
||||
long n;
|
||||
const unsigned char *p, *d;
|
||||
unsigned short supp_data_entry_type = 0;
|
||||
unsigned long supp_data_entry_len = 0;
|
||||
unsigned short supp_data_entry_len = 0;
|
||||
unsigned long supp_data_len = 0;
|
||||
size_t i;
|
||||
int cb_retval = 0;
|
||||
|
@ -3806,7 +3806,7 @@ int tls1_get_client_supplemental_data(SSL *s)
|
||||
long n;
|
||||
const unsigned char *p, *d;
|
||||
unsigned short supp_data_entry_type = 0;
|
||||
unsigned long supp_data_entry_len = 0;
|
||||
unsigned short supp_data_entry_len = 0;
|
||||
unsigned long supp_data_len = 0;
|
||||
size_t i = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user