summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2021-07-23 16:22:59 +0000
committerschwarze <>2021-07-23 16:22:59 +0000
commit1f798b86128baf46564230e54a38af562356164b (patch)
tree522119ea941238254aaad1311405a2421f309043 /src/lib
parent26f0d6e6975de532ec5905b2c17ee75351354be2 (diff)
downloadopenbsd-1f798b86128baf46564230e54a38af562356164b.tar.gz
openbsd-1f798b86128baf46564230e54a38af562356164b.tar.bz2
openbsd-1f798b86128baf46564230e54a38af562356164b.zip
mention the possibility that user-defined purpose identifiers may have
been defined or user-supplied checking functions may have been installed
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/X509_check_purpose.315
1 files changed, 13 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/X509_check_purpose.3 b/src/lib/libcrypto/man/X509_check_purpose.3
index 935b7eed86..b03eb5e469 100644
--- a/src/lib/libcrypto/man/X509_check_purpose.3
+++ b/src/lib/libcrypto/man/X509_check_purpose.3
@@ -1,5 +1,6 @@
1.\" $OpenBSD: X509_check_purpose.3,v 1.3 2021/07/23 14:27:32 schwarze Exp $ 1.\" $OpenBSD: X509_check_purpose.3,v 1.4 2021/07/23 16:22:59 schwarze Exp $
2.\" Copyright (c) 2019 Ingo Schwarze <schwarze@openbsd.org> 2.\"
3.\" Copyright (c) 2019, 2021 Ingo Schwarze <schwarze@openbsd.org>
3.\" 4.\"
4.\" Permission to use, copy, modify, and distribute this software for any 5.\" Permission to use, copy, modify, and distribute this software for any
5.\" purpose with or without fee is hereby granted, provided that the above 6.\" purpose with or without fee is hereby granted, provided that the above
@@ -330,6 +331,16 @@ is -1,
330always succeeds, no matter whether or not the 331always succeeds, no matter whether or not the
331.Fa ca 332.Fa ca
332flag is set. 333flag is set.
334.Pp
335If the function
336.Xr X509_PURPOSE_add 3
337was called before
338.Fn X509_check_purpose ,
339it may have installed different, user-supplied checking functions
340for some of the standard purposes listed above, or it may have
341installed additional, user-supplied checking functions for user-defined
342.Fa purpose
343identifiers not listed above.
333.Sh RETURN VALUES 344.Sh RETURN VALUES
334.Fn X509_check_purpose 345.Fn X509_check_purpose
335returns the following values: 346returns the following values: