diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-08-14 17:48:02 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-08-14 17:48:02 +0000 |
commit | dea77ea6fc17930104a7cf5c04b7aa6acc4a33fb (patch) | |
tree | 9063b7bc29c788870f2821ff70405afe6d303e63 /crypto/openssl/doc/man3 | |
parent | 8c52a6dbf7d095edbbd3e1345dabca669cc0800c (diff) | |
parent | 43a67e02da9068b94df1c07fc6f0d70bafd9263b (diff) | |
download | src-test2-dea77ea6fc17930104a7cf5c04b7aa6acc4a33fb.tar.gz src-test2-dea77ea6fc17930104a7cf5c04b7aa6acc4a33fb.zip |
Notes
Diffstat (limited to 'crypto/openssl/doc/man3')
-rw-r--r-- | crypto/openssl/doc/man3/X509_cmp_time.pod | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crypto/openssl/doc/man3/X509_cmp_time.pod b/crypto/openssl/doc/man3/X509_cmp_time.pod new file mode 100644 index 000000000000..5bf51114511a --- /dev/null +++ b/crypto/openssl/doc/man3/X509_cmp_time.pod @@ -0,0 +1,39 @@ +=pod + +=head1 NAME + +X509_cmp_time - X509 time functions + +=head1 SYNOPSIS + + X509_cmp_time(const ASN1_TIME *asn1_time, time_t *cmp_time); + +=head1 DESCRIPTION + +X509_cmp_time() compares the ASN1_TIME in B<asn1_time> with the time in +<cmp_time>. + +B<asn1_time> must satisfy the ASN1_TIME format mandated by RFC 5280, i.e., +its format must be either YYMMDDHHMMSSZ or YYYYMMDDHHMMSSZ. + +If B<cmp_time> is NULL the current time is used. + +=head1 BUGS + +Unlike many standard comparison functions, X509_cmp_time returns 0 on error. + +=head1 RETURN VALUES + +X509_cmp_time() returns -1 if B<asn1_time> is earlier than, or equal to, +B<cmp_time>, and 1 otherwise. It returns 0 on error. + +=head1 COPYRIGHT + +Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L<https://www.openssl.org/source/license.html>. + +=cut |