From a32c02b8b29460995ef1893cecee58117c22d2e7 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 21 Oct 2020 17:17:44 +0000 Subject: Stop documenting some functions as macros. In x509.h r1.70 (2018/08/24) I turned some macros into actual functions to follow what OpenSSL is doing since 1.1.0. The documentation still claims that they are implemented as macros. Update a doc sync commit hash while there. --- src/lib/libcrypto/man/X509_CRL_get0_by_serial.3 | 5 ++--- src/lib/libcrypto/man/X509_get_subject_name.3 | 11 +++-------- src/lib/libcrypto/man/X509_get_version.3 | 10 ++-------- 3 files changed, 7 insertions(+), 19 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3 b/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3 index 14eb82493d..8db046051b 100644 --- a/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3 +++ b/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_CRL_get0_by_serial.3,v 1.10 2019/06/14 13:59:32 schwarze Exp $ +.\" $OpenBSD: X509_CRL_get0_by_serial.3,v 1.11 2020/10/21 17:17:43 tb Exp $ .\" OpenSSL X509_CRL_get0_by_serial.pod cdd6c8c5 Mar 20 12:29:37 2017 +0100 .\" .\" This file was written by Dr. Stephen Henson . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 14 2019 $ +.Dd $Mdocdate: October 21 2020 $ .Dt X509_CRL_GET0_BY_SERIAL 3 .Os .Sh NAME @@ -108,7 +108,6 @@ of certificate .Fn X509_CRL_get_REVOKED returns an internal pointer to a stack of all revoked entries for .Fa crl . -It is implemented as a macro. .Pp .Fn X509_CRL_add0_revoked appends revoked entry diff --git a/src/lib/libcrypto/man/X509_get_subject_name.3 b/src/lib/libcrypto/man/X509_get_subject_name.3 index 33bc5de24d..fb9611f645 100644 --- a/src/lib/libcrypto/man/X509_get_subject_name.3 +++ b/src/lib/libcrypto/man/X509_get_subject_name.3 @@ -1,5 +1,5 @@ -.\" $OpenBSD: X509_get_subject_name.3,v 1.9 2019/06/14 13:59:32 schwarze Exp $ -.\" OpenSSL 0ad69cd6 Jun 14 23:02:16 2016 +0200 +.\" $OpenBSD: X509_get_subject_name.3,v 1.10 2020/10/21 17:17:44 tb Exp $ +.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" .\" This file was written by Dr. Stephen Henson . .\" Copyright (c) 2015 The OpenSSL Project. All rights reserved. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 14 2019 $ +.Dd $Mdocdate: October 21 2020 $ .Dt X509_GET_SUBJECT_NAME 3 .Os .Sh NAME @@ -133,11 +133,6 @@ and .Fn X509_CRL_set_issuer_name get or set the subject or issuer names of certificate requests of CRLs, respectively. -.Pp -.Fn X509_REQ_get_subject_name -and -.Fn X509_CRL_get_issuer -are implemented as macros. .Sh RETURN VALUES .Fn X509_get_subject_name , .Fn X509_get_issuer_name , diff --git a/src/lib/libcrypto/man/X509_get_version.3 b/src/lib/libcrypto/man/X509_get_version.3 index 05d42e23b7..ee46ff7c8c 100644 --- a/src/lib/libcrypto/man/X509_get_version.3 +++ b/src/lib/libcrypto/man/X509_get_version.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_get_version.3,v 1.7 2019/06/14 13:59:32 schwarze Exp $ +.\" $OpenBSD: X509_get_version.3,v 1.8 2020/10/21 17:17:44 tb Exp $ .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" .\" This file was written by Dr. Stephen Henson . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 14 2019 $ +.Dd $Mdocdate: October 21 2020 $ .Dt X509_GET_VERSION 3 .Os .Sh NAME @@ -115,12 +115,6 @@ The version field of certificates, certificate requests, and CRLs has a DEFAULT value of v1(0) meaning the field should be omitted for version 1. This is handled transparently by these functions. -.Pp -.Fn X509_get_version , -.Fn X509_REQ_get_version -and -.Fn X509_CRL_get_version -are implemented as macros. .Sh RETURN VALUES .Fn X509_get_version , .Fn X509_REQ_get_version , -- cgit v1.2.3-55-g6feb