diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 0fc060f455..349531460d 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -233,7 +233,7 @@ int ssl3_get_finished(SSL *s, int a, int b) #ifdef OPENSSL_NO_NEXTPROTONEG /* the mac has already been generated when we received the - * change cipher spec message and is in s->s3->tmp.peer_finish_md. + * change cipher spec message and is in s->s3->tmp.peer_finish_md */ #endif diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index a03da24e2d..61b0cdc204 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -1276,7 +1276,6 @@ int ssl3_get_server_certificate(SSL *s) #endif ret=1; - if (0) { f_err: diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 04385f6c64..c74605af5f 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -2786,11 +2786,11 @@ int ssl_check_clienthello_tlsext_late(SSL *s) switch (ret) { case SSL_TLSEXT_ERR_ALERT_FATAL: - ssl3_send_alert(s, SSL3_AL_FATAL,al); + ssl3_send_alert(s, SSL3_AL_FATAL, al); return -1; case SSL_TLSEXT_ERR_ALERT_WARNING: - ssl3_send_alert(s, SSL3_AL_WARNING,al); + ssl3_send_alert(s, SSL3_AL_WARNING, al); return 1; default: