From 4713e22e608a4e378838eff9119d98b5ea9e0d34 Mon Sep 17 00:00:00 2001 From: schwarze Date: Fri, 12 Nov 2021 14:34:57 +0000 Subject: [PATCH] mention what X509_cmp_time(3) does with a cmp_time argument of NULL --- lib/libcrypto/man/X509_cmp_time.3 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/man/X509_cmp_time.3 b/lib/libcrypto/man/X509_cmp_time.3 index 7c61e2f605a..0f2afdad02d 100644 --- a/lib/libcrypto/man/X509_cmp_time.3 +++ b/lib/libcrypto/man/X509_cmp_time.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_cmp_time.3,v 1.10 2021/11/08 14:44:14 schwarze Exp $ +.\" $OpenBSD: X509_cmp_time.3,v 1.11 2021/11/12 14:34:57 schwarze Exp $ .\" full merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100 .\" .\" This file is a derived work. @@ -65,7 +65,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 8 2021 $ +.Dd $Mdocdate: November 12 2021 $ .Dt X509_CMP_TIME 3 .Os .Sh NAME @@ -111,7 +111,11 @@ parses with .Xr ASN1_time_parse 3 and compares it to -.Fa cmp_time . +.Fa cmp_time , +or to the current time if +.Fa cmp_time +is +.Dv NULL . .Fn X509_cmp_current_time compares it to the current time. .Pp -- 2.20.1