diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2017-07-30 18:28:54 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-07-30 18:28:54 -0400 |
commit | 1c026996da21a10584df2a148aa755938c6f5a80 (patch) | |
tree | a130aa1a8b071ef5ca477d71d3845614d5ec1106 /doc | |
parent | f00d0fd783a8384cb29257bb1cb84b20f33b7df2 (diff) |
Update ASN1_TIME_to_tm's documentation
To state the fractional seconds part will be lost in the conversion.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4041)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/ASN1_TIME_set.pod | 4 |
1 files changed, 3 insertions, 1 deletions
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<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 |