summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-12-17 12:48:53 +0000
committertb <>2022-12-17 12:48:53 +0000
commit1dd1001dfe28a3e1f6775d022a3d5be252da4459 (patch)
treecf47bcf4326fc381bca8ce4c44a880ff31fdfce0
parente80fdd27afb9f1771736f998fd39b30cd3ecc8f3 (diff)
downloadopenbsd-1dd1001dfe28a3e1f6775d022a3d5be252da4459.tar.gz
openbsd-1dd1001dfe28a3e1f6775d022a3d5be252da4459.tar.bz2
openbsd-1dd1001dfe28a3e1f6775d022a3d5be252da4459.zip
X509_check_purpose.3: incorporate feedback from jsing
-rw-r--r--src/lib/libcrypto/man/X509_check_purpose.310
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/X509_check_purpose.3 b/src/lib/libcrypto/man/X509_check_purpose.3
index ff5ab592b0..611697fa30 100644
--- a/src/lib/libcrypto/man/X509_check_purpose.3
+++ b/src/lib/libcrypto/man/X509_check_purpose.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_check_purpose.3,v 1.8 2022/12/16 18:02:28 tb Exp $ 1.\" $OpenBSD: X509_check_purpose.3,v 1.9 2022/12/17 12:48:53 tb Exp $
2.\" 2.\"
3.\" Copyright (c) 2019, 2021 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2019, 2021 Ingo Schwarze <schwarze@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: December 16 2022 $ 17.Dd $Mdocdate: December 17 2022 $
18.Dt X509_CHECK_PURPOSE 3 18.Dt X509_CHECK_PURPOSE 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -37,7 +37,7 @@ ignores the
37.Fa ca 37.Fa ca
38argument and checks that all the extensions of the 38argument and checks that all the extensions of the
39.Fa certificate 39.Fa certificate
40can be parsed and pass minimal sanity checks, in particular that 40can be parsed and pass minimal sanity checks, ensuring that
41extensions that must not occur more than once do not. 41extensions that must not occur more than once do not.
42It also makes sure that all extensions are cached in the 42It also makes sure that all extensions are cached in the
43.Vt X509 43.Vt X509
@@ -49,7 +49,7 @@ argument is not \-1 and the
49.Fa ca 49.Fa ca
50flag is 0, 50flag is 0,
51.Fn X509_check_purpose 51.Fn X509_check_purpose
52additionally checks whether the public key contained in the 52also checks whether the public key contained in the
53.Fa certificate 53.Fa certificate
54is intended to be used for the given 54is intended to be used for the given
55.Fa purpose , 55.Fa purpose ,
@@ -362,7 +362,7 @@ installed additional, user-supplied checking functions for user-defined
362.Fa purpose 362.Fa purpose
363identifiers not listed above. 363identifiers not listed above.
364.Sh RETURN VALUES 364.Sh RETURN VALUES
365If parsing of certificate extensions or sanity checks fail or the 365If the parsing of certificate extensions fails, sanity checks fail or the
366.Fa purpose 366.Fa purpose
367is invalid, 367is invalid,
368.Fn X509_check_purpose 368.Fn X509_check_purpose