From 208fb891e36f16d20262710c70ef0ff3df0e885c Mon Sep 17 00:00:00 2001 From: KaoruToda Date: Mon, 9 Oct 2017 20:05:58 +0900 Subject: Since return is inconsistent, I removed unnecessary parentheses and unified them. - return (0); -> return 0; - return (1); -> return 1; - return (-1); -> return -1; Reviewed-by: Stephen Henson Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/4500) --- ssl/t1_enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ssl/t1_enc.c') diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index ce7f14d8b6..1fa75c6ed3 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -310,7 +310,7 @@ int tls1_change_cipher_state(SSL *s, int which) OPENSSL_cleanse(tmp2, sizeof(tmp1)); OPENSSL_cleanse(iv1, sizeof(iv1)); OPENSSL_cleanse(iv2, sizeof(iv2)); - return (1); + return 1; err: SSLerr(SSL_F_TLS1_CHANGE_CIPHER_STATE, ERR_R_MALLOC_FAILURE); err2: @@ -332,7 +332,7 @@ int tls1_setup_key_block(SSL *s) int ret = 0; if (s->s3->tmp.key_block_length != 0) - return (1); + return 1; if (!ssl_cipher_get_evp(s->session, &c, &hash, &mac_type, &mac_secret_size, &comp, s->ext.use_etm)) { -- cgit v1.2.3