From 1c026996da21a10584df2a148aa755938c6f5a80 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Sun, 30 Jul 2017 18:28:54 -0400 Subject: [PATCH] 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) --- doc/man3/ASN1_TIME_set.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1