diff options
| author | schwarze <> | 2016-11-05 15:32:20 +0000 |
|---|---|---|
| committer | schwarze <> | 2016-11-05 15:32:20 +0000 |
| commit | b3e8c428c609fc9c66690abb3d188c60b5d48bb1 (patch) | |
| tree | 1672f1234352c29443fcacb44e22f1b20f174d99 /src/lib/libssl/doc/SSL_get_verify_result.3 | |
| parent | 19bc742a20d4c505bc890d49e01c44192e9dbeff (diff) | |
| download | openbsd-b3e8c428c609fc9c66690abb3d188c60b5d48bb1.tar.gz openbsd-b3e8c428c609fc9c66690abb3d188c60b5d48bb1.tar.bz2 openbsd-b3e8c428c609fc9c66690abb3d188c60b5d48bb1.zip | |
move manual pages from doc/ to man/ for consistency with other
libraries, in particular considering that there are unrelated
files in doc/; requested by jsing@ and beck@
Diffstat (limited to 'src/lib/libssl/doc/SSL_get_verify_result.3')
| -rw-r--r-- | src/lib/libssl/doc/SSL_get_verify_result.3 | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/lib/libssl/doc/SSL_get_verify_result.3 b/src/lib/libssl/doc/SSL_get_verify_result.3 deleted file mode 100644 index e89e3dea61..0000000000 --- a/src/lib/libssl/doc/SSL_get_verify_result.3 +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | .\" | ||
| 2 | .\" $OpenBSD: SSL_get_verify_result.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | ||
| 3 | .\" | ||
| 4 | .Dd $Mdocdate: December 2 2014 $ | ||
| 5 | .Dt SSL_GET_VERIFY_RESULT 3 | ||
| 6 | .Os | ||
| 7 | .Sh NAME | ||
| 8 | .Nm SSL_get_verify_result | ||
| 9 | .Nd get result of peer certificate verification | ||
| 10 | .Sh SYNOPSIS | ||
| 11 | .In openssl/ssl.h | ||
| 12 | .Ft long | ||
| 13 | .Fn SSL_get_verify_result "const SSL *ssl" | ||
| 14 | .Sh DESCRIPTION | ||
| 15 | .Fn SSL_get_verify_result | ||
| 16 | returns the result of the verification of the X509 certificate presented by the | ||
| 17 | peer, if any. | ||
| 18 | .Sh NOTES | ||
| 19 | .Fn SSL_get_verify_result | ||
| 20 | can only return one error code while the verification of a certificate can fail | ||
| 21 | because of many reasons at the same time. | ||
| 22 | Only the last verification error that occurred during the processing is | ||
| 23 | available from | ||
| 24 | .Fn SSL_get_verify_result . | ||
| 25 | .Pp | ||
| 26 | The verification result is part of the established session and is restored when | ||
| 27 | a session is reused. | ||
| 28 | .Sh RETURN VALUES | ||
| 29 | The following return values can currently occur: | ||
| 30 | .Bl -tag -width Ds | ||
| 31 | .It Dv X509_V_OK | ||
| 32 | The verification succeeded or no peer certificate was presented. | ||
| 33 | .It Any other value | ||
| 34 | Documented in | ||
| 35 | .Xr openssl 1 . | ||
| 36 | .El | ||
| 37 | .Sh SEE ALSO | ||
| 38 | .Xr openssl 1 , | ||
| 39 | .Xr ssl 3 , | ||
| 40 | .Xr SSL_get_peer_certificate 3 , | ||
| 41 | .Xr SSL_set_verify_result 3 | ||
| 42 | .Sh BUGS | ||
| 43 | If no peer certificate was presented, the returned result code is | ||
| 44 | .Dv X509_V_OK . | ||
| 45 | This is because no verification error occurred; | ||
| 46 | however, it does not indicate success. | ||
| 47 | .Fn SSL_get_verify_result | ||
| 48 | is only useful in connection with | ||
| 49 | .Xr SSL_get_peer_certificate 3 . | ||
