The branch master has been updated
via 1c026996da21a10584df2a148aa755938c6f5a80 (commit)
from f00d0fd783a8384cb29257bb1cb84b20f33b7df2 (commit)
- Log -----------------------------------------------------------------
commit 1c026996da21a10584df2a148aa755938c6f5a80
Author: Paul Yang <[email protected]>
Date: Sun Jul 30 18:28:54 2017 -0400
Update ASN1_TIME_to_tm's documentation
To state the fractional seconds part will be lost in the conversion.
Reviewed-by: Andy Polyakov <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/4041)
-----------------------------------------------------------------------
Summary of changes:
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 180b6c8..d71e4d1 100644
--- a/doc/man3/ASN1_TIME_set.pod
+++ b/doc/man3/ASN1_TIME_set.pod
@@ -58,7 +58,9 @@ If B<s> is NULL, then the current time is converted. The
output time is GMT.
The B<tm_sec>, B<tm_min>, B<tm_hour>, B<tm_mday>, B<tm_wday>, B<tm_yday>,
B<tm_mon> and B<tm_year> fields of B<tm> structure are set to proper values,
whereas all other fields are set to 0. If B<tm> is NULL this function performs
-a format check on B<s> only.
+a format check on B<s> only. If B<s> is in Generalized format with franctional
+seconds, e.g. YYYYMMDDHHMMSS.SSSZ, the fractional seconds will be lost while
+converting B<s> to B<tm> structure.
ASN1_TIME_diff() sets B<*pday> and B<*psec> to the time difference between
B<from> and B<to>. If B<to> represents a time later than B<from> then
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits