diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2021-07-29 12:39:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2021-07-29 12:39:48 +0000 |
commit | 08ac98f618d719606bca703e0c49c542d6e3b4d9 (patch) | |
tree | 8cf72692dddd78a243b14f15ddbe39d3993f2b84 /lib | |
parent | 1e6c6fca05a9b8c79feb628c44df35816f1686ff (diff) |
Fix a documentation bug i introduced that tb@ pointed out:
X509_policy_check(3) never returns 2.
If validation succeeds, it always returns 1.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/man/X509_policy_check.3 | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/libcrypto/man/X509_policy_check.3 b/lib/libcrypto/man/X509_policy_check.3 index 7739f13d5ac..445f22ddeab 100644 --- a/lib/libcrypto/man/X509_policy_check.3 +++ b/lib/libcrypto/man/X509_policy_check.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_policy_check.3,v 1.3 2021/07/28 14:00:33 schwarze Exp $ +.\" $OpenBSD: X509_policy_check.3,v 1.4 2021/07/29 12:39:47 schwarze Exp $ .\" .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 28 2021 $ +.Dd $Mdocdate: July 29 2021 $ .Dt X509_POLICY_CHECK 3 .Os .Sh NAME @@ -158,17 +158,8 @@ In the special cases that the .Fa certs argument contains exactly one certificate or that .Dv X509_V_FLAG_EXPLICIT_POLICY -was not requested and the resulting policy tree would have been empty, -.Pf * Fa ptree -is set to -.Dv NULL -and -.Pf * Fa pexplicit_policy -to 0. -.It 2 -.Dv X509_V_FLAG_EXPLICIT_POLICY was not requested and at least one of the certificates contains no -certificate policies. +certificate policies or the resulting policy tree would have been empty, .Pf * Fa ptree is set to .Dv NULL |