diff options
| author | bentley <> | 2014-10-12 09:33:04 +0000 |
|---|---|---|
| committer | bentley <> | 2014-10-12 09:33:04 +0000 |
| commit | 78332233d01faa45e0bb0b1583d47cb5ad1ddc19 (patch) | |
| tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_set_verify_result.3 | |
| parent | 4e737c824fafe5f105e5f4849a9db2569b5d53d8 (diff) | |
| download | openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.gz openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.bz2 openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.zip | |
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet.
ok schwarze@ miod@
Diffstat (limited to 'src/lib/libssl/doc/SSL_set_verify_result.3')
| -rw-r--r-- | src/lib/libssl/doc/SSL_set_verify_result.3 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_set_verify_result.3 b/src/lib/libssl/doc/SSL_set_verify_result.3 new file mode 100644 index 0000000000..3c7f0540fb --- /dev/null +++ b/src/lib/libssl/doc/SSL_set_verify_result.3 | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | .Dd $Mdocdate: October 12 2014 $ | ||
| 2 | .Dt SSL_SET_VERIFY_RESULT 3 | ||
| 3 | .Os | ||
| 4 | .Sh NAME | ||
| 5 | .Nm SSL_set_verify_result | ||
| 6 | .Nd override result of peer certificate verification | ||
| 7 | .Sh SYNOPSIS | ||
| 8 | .In openssl/ssl.h | ||
| 9 | .Ft void | ||
| 10 | .Fn SSL_set_verify_result "SSL *ssl" "long verify_result" | ||
| 11 | .Sh DESCRIPTION | ||
| 12 | .Fn SSL_set_verify_result | ||
| 13 | sets | ||
| 14 | .Fa verify_result | ||
| 15 | of the object | ||
| 16 | .Fa ssl | ||
| 17 | to be the result of the verification of the X509 certificate presented by the | ||
| 18 | peer, if any. | ||
| 19 | .Sh NOTES | ||
| 20 | .Fn SSL_set_verify_result | ||
| 21 | overrides the verification result. | ||
| 22 | It only changes the verification result of the | ||
| 23 | .Fa ssl | ||
| 24 | object. | ||
| 25 | It does not become part of the established session, so if the session is to be | ||
| 26 | reused later, the original value will reappear. | ||
| 27 | .Pp | ||
| 28 | The valid codes for | ||
| 29 | .Fa verify_result | ||
| 30 | are documented in | ||
| 31 | .Xr verify 1 . | ||
| 32 | .Sh RETURN VALUES | ||
| 33 | .Fn SSL_set_verify_result | ||
| 34 | does not provide a return value. | ||
| 35 | .Sh SEE ALSO | ||
| 36 | .Xr verify 1 , | ||
| 37 | .Xr ssl 3 , | ||
| 38 | .Xr SSL_get_peer_certificate 3 , | ||
| 39 | .Xr SSL_get_verify_result 3 | ||
