diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2021-07-23 16:23:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2021-07-23 16:23:00 +0000 |
commit | af0d7077f89b661846d2372bafd6ca6ec5c5dbff (patch) | |
tree | 02f2754e255474a7bf190d33a9aea0b6034af40e | |
parent | 48254c16c24b9387df59b7dfd822cf3ba362b9ac (diff) |
mention the possibility that user-defined purpose identifiers may have
been defined or user-supplied checking functions may have been installed
-rw-r--r-- | lib/libcrypto/man/X509_check_purpose.3 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/libcrypto/man/X509_check_purpose.3 b/lib/libcrypto/man/X509_check_purpose.3 index 935b7eed864..b03eb5e4693 100644 --- a/lib/libcrypto/man/X509_check_purpose.3 +++ b/lib/libcrypto/man/X509_check_purpose.3 @@ -1,5 +1,6 @@ -.\" $OpenBSD: X509_check_purpose.3,v 1.3 2021/07/23 14:27:32 schwarze Exp $ -.\" Copyright (c) 2019 Ingo Schwarze <schwarze@openbsd.org> +.\" $OpenBSD: X509_check_purpose.3,v 1.4 2021/07/23 16:22:59 schwarze Exp $ +.\" +.\" Copyright (c) 2019, 2021 Ingo Schwarze <schwarze@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -330,6 +331,16 @@ is -1, always succeeds, no matter whether or not the .Fa ca flag is set. +.Pp +If the function +.Xr X509_PURPOSE_add 3 +was called before +.Fn X509_check_purpose , +it may have installed different, user-supplied checking functions +for some of the standard purposes listed above, or it may have +installed additional, user-supplied checking functions for user-defined +.Fa purpose +identifiers not listed above. .Sh RETURN VALUES .Fn X509_check_purpose returns the following values: |