From: Paul Yang Date: Sun, 30 Jul 2017 22:28:54 +0000 (-0400) Subject: Update ASN1_TIME_to_tm's documentation X-Git-Tag: OpenSSL_1_1_1-pre1~936 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1c026996da21a10584df2a148aa755938c6f5a80;p=oweals%2Fopenssl.git Update ASN1_TIME_to_tm's documentation To state the fractional seconds part will be lost in the conversion. Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4041) --- diff --git a/doc/man3/ASN1_TIME_set.pod b/doc/man3/ASN1_TIME_set.pod index 180b6c89e2..d71e4d1d56 100644 --- a/doc/man3/ASN1_TIME_set.pod +++ b/doc/man3/ASN1_TIME_set.pod @@ -58,7 +58,9 @@ If B is NULL, then the current time is converted. The output time is GMT. The B, B, B, B, B, B, B and B fields of B structure are set to proper values, whereas all other fields are set to 0. If B is NULL this function performs -a format check on B only. +a format check on B only. If B is in Generalized format with franctional +seconds, e.g. YYYYMMDDHHMMSS.SSSZ, the fractional seconds will be lost while +converting B to B structure. ASN1_TIME_diff() sets B<*pday> and B<*psec> to the time difference between B and B. If B represents a time later than B then