From: schwarze Date: Wed, 7 Jun 2023 10:53:30 +0000 (+0000) Subject: Refer to the field "thisUpdate" instead of the non-existent "lastUpdate". X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=64095898bf05c1111c0cafc069d4e9fdcf4cb585;p=openbsd Refer to the field "thisUpdate" instead of the non-existent "lastUpdate". Similar to X509_get0_notBefore(3) rev. 1.6. Requested by and OK tb@. --- diff --git a/usr.bin/openssl/openssl.1 b/usr.bin/openssl/openssl.1 index 5443a110667..3005cdd2d8a 100644 --- a/usr.bin/openssl/openssl.1 +++ b/usr.bin/openssl/openssl.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: openssl.1,v 1.146 2023/05/20 15:57:40 tb Exp $ +.\" $OpenBSD: openssl.1,v 1.147 2023/06/07 10:53:30 schwarze Exp $ .\" ==================================================================== .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. .\" @@ -110,7 +110,7 @@ .\" copied and put under another distribution licence .\" [including the GNU Public Licence.] .\" -.Dd $Mdocdate: May 20 2023 $ +.Dd $Mdocdate: June 7 2023 $ .Dt OPENSSL 1 .Os .Sh NAME @@ -1526,8 +1526,9 @@ The input format. Output the issuer name. .It Fl lastupdate Output the -.Cm lastUpdate +.Cm thisUpdate field. +This option is misnamed for historical reasons. .It Fl nameopt Ar option Specify certificate name options. .It Fl nextupdate @@ -6115,8 +6116,13 @@ The certificate field contains an invalid time. .It 15 X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD The CRL -.Cm lastUpdate +.Cm thisUpdate field contains an invalid time. +The error code is misnamed and the error message confusingly talks about +.Dq lastUpdate +instead of +.Dq thisUpdate +for historical reasons. .It 16 X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD The CRL .Cm nextUpdate