From 0fe2a0af8976af505b35e4be100deb8d64451015 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Wed, 28 Dec 2016 19:22:25 +0100 Subject: [PATCH] Fix a few double ; Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/1618) --- apps/s_client.c | 2 +- ssl/statem/statem_dtls.c | 2 +- ssl/statem/statem_srvr.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/s_client.c b/apps/s_client.c index 5307eab116..d2f10a6885 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -2365,7 +2365,7 @@ int s_client_main(int argc, char **argv) /* goto end; */ } - sbuf_len -= i;; + sbuf_len -= i; sbuf_off += i; if (sbuf_len <= 0) { read_ssl = 1; diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index 08937f518b..1c1758b464 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -656,7 +656,7 @@ dtls1_process_out_of_seq_message(SSL *s, const struct hm_header_st *msg_hdr) } } else { if (frag_len != msg_hdr->msg_len) { - return dtls1_reassemble_fragment(s, msg_hdr);; + return dtls1_reassemble_fragment(s, msg_hdr); } if (frag_len > dtls1_max_handshake_message_len(s)) diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index 84f6dfb4c2..4d6afd6bc5 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -2944,7 +2944,7 @@ WORK_STATE tls_post_process_client_key_exchange(SSL *s, WORK_STATE wst) sizeof(labelbuffer), NULL, 0, 0) <= 0) { ossl_statem_set_error(s); - return WORK_ERROR;; + return WORK_ERROR; } BIO_ctrl(SSL_get_wbio(s), BIO_CTRL_DGRAM_SCTP_ADD_AUTH_KEY,