diff options
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: |
