diff options
author | Matt Caswell <matt@openssl.org> | 2017-05-22 12:33:29 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-05-22 14:00:34 +0100 |
commit | a89325e41f52b4a1f58202f6d8f5597105fc9f5a (patch) | |
tree | d4aaebb59dc04a2be41efc885b25abfb75284ef0 /ssl/d1_lib.c | |
parent | 380a522f689252e7f19e0c44ea49461ec7bd040f (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/d1_lib.c')
-rw-r--r-- | ssl/d1_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index eb6a0f8295..448b2eb1d4 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -79,10 +79,10 @@ int dtls1_new(SSL *s) } if (!ssl3_new(s)) - return (0); + return 0; if ((d1 = OPENSSL_zalloc(sizeof(*d1))) == NULL) { ssl3_free(s); - return (0); + return 0; } d1->buffered_messages = pqueue_new(); @@ -100,12 +100,12 @@ int dtls1_new(SSL *s) pqueue_free(d1->sent_messages); OPENSSL_free(d1); ssl3_free(s); - return (0); + return 0; } s->d1 = d1; s->method->ssl_clear(s); - return (1); + return 1; } static void dtls1_clear_queues(SSL *s) |