diff options
| author | schwarze <> | 2020-09-14 14:21:46 +0000 |
|---|---|---|
| committer | schwarze <> | 2020-09-14 14:21:46 +0000 |
| commit | df0947ae70192dd0d00570480ad8dba3974d2f72 (patch) | |
| tree | 84a4ba7b4afeb8b6ed4ade8581a7fbdc8de50dbf /src | |
| parent | ecb5dc5f74503b6b7cf64383297279a3413ce4af (diff) | |
| download | openbsd-df0947ae70192dd0d00570480ad8dba3974d2f72.tar.gz openbsd-df0947ae70192dd0d00570480ad8dba3974d2f72.tar.bz2 openbsd-df0947ae70192dd0d00570480ad8dba3974d2f72.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@
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/x509_verify.3 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/x509_verify.3 b/src/lib/libcrypto/man/x509_verify.3 index 78ec0536d2..b9fe13a54f 100644 --- a/src/lib/libcrypto/man/x509_verify.3 +++ b/src/lib/libcrypto/man/x509_verify.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: x509_verify.3,v 1.1 2020/09/14 12:38:38 beck Exp $ | 1 | .\" $OpenBSD: x509_verify.3,v 1.2 2020/09/14 14:21:46 schwarze Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 3 | .\" Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -180,12 +180,8 @@ The returned chain is neither copied, | |||
| 180 | nor is its reference count increased. | 180 | nor is its reference count increased. |
| 181 | .Sh RETURN VALUES | 181 | .Sh RETURN VALUES |
| 182 | .Fn x509_verify | 182 | .Fn x509_verify |
| 183 | returns the number of chains successfully built and validated, | 183 | returns the number of chains successfully built and validated |
| 184 | or 0 if | 184 | or 0 on failure. |
| 185 | .Fa ctx | ||
| 186 | is | ||
| 187 | .Dv NULL | ||
| 188 | or if an error occurs. | ||
| 189 | .Pp | 185 | .Pp |
| 190 | .Fn x509_verify_ctx_new | 186 | .Fn x509_verify_ctx_new |
| 191 | returns a newly allocated context or | 187 | returns a newly allocated context or |
