diff options
author | Matt Caswell <matt@openssl.org> | 2015-03-24 15:10:15 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-25 18:52:13 +0000 |
commit | 17dd65e6e1f888b4561d559b4d44fbbe0a0aa3e7 (patch) | |
tree | e1b6a255d4d7dd7eb37734b4208af8598a3078be /doc | |
parent | cb14aec713ccab92d1c21d3d5b066570c4bca5ee (diff) | |
download | openssl-17dd65e6e1f888b4561d559b4d44fbbe0a0aa3e7.tar.gz |
Resolve swallowed returns codes
The recent updates to libssl to enforce stricter return code checking, left
a small number of instances behind where return codes were being swallowed
(typically because the function they were being called from was declared as
void). This commit fixes those instances to handle the return codes more
appropriately.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ssl/ssl.pod | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/ssl/ssl.pod b/doc/ssl/ssl.pod index 3634fa9a3e..5af0fc63c6 100644 --- a/doc/ssl/ssl.pod +++ b/doc/ssl/ssl.pod @@ -453,7 +453,10 @@ connection defined in the B<SSL> structure. =item int B<SSL_connect>(SSL *ssl); -=item void B<SSL_copy_session_id>(SSL *t, const SSL *f); +=item int B<SSL_copy_session_id>(SSL *t, const SSL *f); + +Sets the session details for B<t> to be the same as in B<f>. Returns 1 on +success or 0 on failure. =item long B<SSL_ctrl>(SSL *ssl, int cmd, long larg, char *parg); @@ -756,5 +759,8 @@ The L<ssl(3)|ssl(3)> document appeared in OpenSSL 0.9.2 B<SSLv2_client_method>, B<SSLv2_server_method> and B<SSLv2_method> where removed in OpenSSL 1.1.0. +The return type of B<SSL_copy_session_id> was changed from void to int in +OpenSSL 1.1.0. + =cut |