diff options
author | schwarze <> | 2021-07-23 16:22:59 +0000 |
---|---|---|
committer | schwarze <> | 2021-07-23 16:22:59 +0000 |
commit | 1f798b86128baf46564230e54a38af562356164b (patch) | |
tree | 522119ea941238254aaad1311405a2421f309043 /src/lib | |
parent | 26f0d6e6975de532ec5905b2c17ee75351354be2 (diff) | |
download | openbsd-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.3 | 15 |
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, | |||
330 | always succeeds, no matter whether or not the | 331 | always succeeds, no matter whether or not the |
331 | .Fa ca | 332 | .Fa ca |
332 | flag is set. | 333 | flag is set. |
334 | .Pp | ||
335 | If the function | ||
336 | .Xr X509_PURPOSE_add 3 | ||
337 | was called before | ||
338 | .Fn X509_check_purpose , | ||
339 | it may have installed different, user-supplied checking functions | ||
340 | for some of the standard purposes listed above, or it may have | ||
341 | installed additional, user-supplied checking functions for user-defined | ||
342 | .Fa purpose | ||
343 | identifiers not listed above. | ||
333 | .Sh RETURN VALUES | 344 | .Sh RETURN VALUES |
334 | .Fn X509_check_purpose | 345 | .Fn X509_check_purpose |
335 | returns the following values: | 346 | returns the following values: |