aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/man/man3/X509_check_purpose.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/man3/X509_check_purpose.3')
-rw-r--r--secure/lib/libcrypto/man/man3/X509_check_purpose.317
1 files changed, 10 insertions, 7 deletions
diff --git a/secure/lib/libcrypto/man/man3/X509_check_purpose.3 b/secure/lib/libcrypto/man/man3/X509_check_purpose.3
index 193d5201d54e..63428a3a6b4e 100644
--- a/secure/lib/libcrypto/man/man3/X509_check_purpose.3
+++ b/secure/lib/libcrypto/man/man3/X509_check_purpose.3
@@ -1,5 +1,5 @@
.\" -*- mode: troff; coding: utf-8 -*-
-.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
+.\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -52,10 +52,13 @@
. \}
.\}
.rr rF
+.\"
+.\" Required to disable full justification in groff 1.23.0.
+.if n .ds AD l
.\" ========================================================================
.\"
.IX Title "X509_CHECK_PURPOSE 3ossl"
-.TH X509_CHECK_PURPOSE 3ossl 2025-09-30 3.5.4 OpenSSL
+.TH X509_CHECK_PURPOSE 3ossl 2026-04-07 3.5.6 OpenSSL
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -101,11 +104,11 @@ X509_PURPOSE_set \- functions related to checking the purpose of a certificate
.IX Header "DESCRIPTION"
\&\fBX509_check_purpose()\fR checks if certificate \fIx\fR was created with the purpose
represented by \fIid\fR. If \fIca\fR is nonzero, then certificate \fIx\fR is
-checked to determine if it's a possible CA with various levels of certainty
+checked to determine if it\*(Aqs a possible CA with various levels of certainty
possibly returned. The certificate \fIx\fR must be a complete certificate
otherwise the function returns an error.
.PP
-Below are the potential ID's that can be checked:
+Below are the potential ID\*(Aqs that can be checked:
.PP
.Vb 10
\& # define X509_PURPOSE_SSL_CLIENT 1
@@ -144,7 +147,7 @@ the purpose (long) name \fIname\fR, the short name \fIsname\fR, the purpose chec
function \fIck\fR of type \fBint (*) (const X509_PURPOSE *, const X509 *, int)\fR,
and its user data \fIarg\fR which may be retrieved via the \fBX509_PURPOSE\fR pointer.
.PP
-\&\fBX509_PURPOSE_cleanup()\fR removes all purposes that are not pre-defined.
+\&\fBX509_PURPOSE_cleanup()\fR removes all purposes that are not pre\-defined.
.PP
\&\fBX509_PURPOSE_get0()\fR returns an \fBX509_PURPOSE\fR pointer or NULL on error.
.PP
@@ -162,7 +165,7 @@ This resets to the any purpose if \fIpurpose\fR is \fBX509_PURPOSE_DEFAULT_ANY\f
.SH "RETURN VALUES"
.IX Header "RETURN VALUES"
\&\fBX509_check_purpose()\fR returns the following values.
-For non-CA checks
+For non\-CA checks
.IP "\-1 an error condition has occurred" 4
.IX Item "-1 an error condition has occurred"
.PD 0
@@ -217,7 +220,7 @@ int \fBX509_PURPOSE_add()\fR returns 1 on success, 0 on error.
\&\fBX509_PURPOSE_set()\fR returns 1 on success, 0 on error.
.SH BUGS
.IX Header "BUGS"
-The X509_PURPOSE implementation so far is not thread-safe.
+The X509_PURPOSE implementation so far is not thread\-safe.
There may be race conditions retrieving purpose information while
\&\fBX509_PURPOSE_add()\fR or X509_PURPOSE_cleanup(void) is being called.
.SH HISTORY