summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-05-22 12:33:29 +0100
committerMatt Caswell <matt@openssl.org>2017-05-22 14:00:34 +0100
commita89325e41f52b4a1f58202f6d8f5597105fc9f5a (patch)
treed4aaebb59dc04a2be41efc885b25abfb75284ef0 /ssl/ssl_lib.c
parent380a522f689252e7f19e0c44ea49461ec7bd040f (diff)
Fix some style issues in returns
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3496)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index b318055eab..cba03bdc15 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -443,7 +443,7 @@ int SSL_clear(SSL *s)
{
if (s->method == NULL) {
SSLerr(SSL_F_SSL_CLEAR, SSL_R_NO_METHOD_SPECIFIED);
- return (0);
+ return 0;
}
if (ssl_clear_bad_session(s)) {
@@ -492,13 +492,13 @@ int SSL_clear(SSL *s)
s->method->ssl_free(s);
s->method = s->ctx->method;
if (!s->method->ssl_new(s))
- return (0);
+ return 0;
} else
s->method->ssl_clear(s);
RECORD_LAYER_clear(&s->rlayer);
- return (1);
+ return 1;
}
/** Used to change an SSL_CTXs default SSL method type */