summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-09-14 14:21:46 +0000
committerschwarze <schwarze@openbsd.org>2020-09-14 14:21:46 +0000
commit659521584939bbee95a669e0fbb3cb94cba0c65d (patch)
tree5824bceb94b2ba2d1e510dd79e10c4db693c4916
parentReport what's wrong when account creation fails instead of a generic (diff)
downloadwireguard-openbsd-659521584939bbee95a669e0fbb3cb94cba0c65d.tar.xz
wireguard-openbsd-659521584939bbee95a669e0fbb3cb94cba0c65d.zip
simplify RETURN VALUES for x509_verify(3) after beck@ made the rules
simpler and more consistent in x509_verify.c rev. 1.6; OK beck@
-rw-r--r--lib/libcrypto/man/x509_verify.310
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libcrypto/man/x509_verify.3 b/lib/libcrypto/man/x509_verify.3
index 78ec0536d22..b9fe13a54f3 100644
--- a/lib/libcrypto/man/x509_verify.3
+++ b/lib/libcrypto/man/x509_verify.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: x509_verify.3,v 1.1 2020/09/14 12:38:38 beck Exp $
+.\" $OpenBSD: x509_verify.3,v 1.2 2020/09/14 14:21:46 schwarze Exp $
.\"
.\" Copyright (c) 2020 Bob Beck <beck@openbsd.org>
.\"
@@ -180,12 +180,8 @@ The returned chain is neither copied,
nor is its reference count increased.
.Sh RETURN VALUES
.Fn x509_verify
-returns the number of chains successfully built and validated,
-or 0 if
-.Fa ctx
-is
-.Dv NULL
-or if an error occurs.
+returns the number of chains successfully built and validated
+or 0 on failure.
.Pp
.Fn x509_verify_ctx_new
returns a newly allocated context or