summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-10-21 17:17:43 +0000
committertb <tb@openbsd.org>2020-10-21 17:17:43 +0000
commit5d332758ce6df2ab934323c71f9a5d0e17cba048 (patch)
treef18ad52edf0f277f9ea11a3783082861e8a50f95
parentsimplify and improve the example by using the -a and -d options; (diff)
downloadwireguard-openbsd-5d332758ce6df2ab934323c71f9a5d0e17cba048.tar.xz
wireguard-openbsd-5d332758ce6df2ab934323c71f9a5d0e17cba048.zip
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.
-rw-r--r--lib/libcrypto/man/X509_CRL_get0_by_serial.35
-rw-r--r--lib/libcrypto/man/X509_get_subject_name.311
-rw-r--r--lib/libcrypto/man/X509_get_version.310
3 files changed, 7 insertions, 19 deletions
diff --git a/lib/libcrypto/man/X509_CRL_get0_by_serial.3 b/lib/libcrypto/man/X509_CRL_get0_by_serial.3
index 14eb82493d3..8db046051b7 100644
--- a/lib/libcrypto/man/X509_CRL_get0_by_serial.3
+++ b/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 <steve@openssl.org>.
@@ -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/lib/libcrypto/man/X509_get_subject_name.3 b/lib/libcrypto/man/X509_get_subject_name.3
index 33bc5de24d8..fb9611f6455 100644
--- a/lib/libcrypto/man/X509_get_subject_name.3
+++ b/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 <steve@openssl.org>.
.\" 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/lib/libcrypto/man/X509_get_version.3 b/lib/libcrypto/man/X509_get_version.3
index 05d42e23b7b..ee46ff7c8cc 100644
--- a/lib/libcrypto/man/X509_get_version.3
+++ b/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 <steve@openssl.org>.
@@ -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 ,