From 17dd65e6e1f888b4561d559b4d44fbbe0a0aa3e7 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 24 Mar 2015 15:10:15 +0000 Subject: 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 --- doc/ssl/ssl.pod | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') 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 structure. =item int B(SSL *ssl); -=item void B(SSL *t, const SSL *f); +=item int B(SSL *t, const SSL *f); + +Sets the session details for B to be the same as in B. Returns 1 on +success or 0 on failure. =item long B(SSL *ssl, int cmd, long larg, char *parg); @@ -756,5 +759,8 @@ The L document appeared in OpenSSL 0.9.2 B, B and B where removed in OpenSSL 1.1.0. +The return type of B was changed from void to int in +OpenSSL 1.1.0. + =cut -- cgit v1.2.3