diff options
-rw-r--r-- | ssl/ssl_rsa.c | 2 | ||||
-rw-r--r-- | ssl/statem/statem_lib.c | 2 | ||||
-rw-r--r-- | ssl/t1_lib.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index bba0051437..2b20cece92 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -573,7 +573,7 @@ static int serverinfo_find_extension(const unsigned char *serverinfo, if (type == extension_type) { *extension_data = PACKET_data(&data); - *extension_length = PACKET_remaining(&data);; + *extension_length = PACKET_remaining(&data); return 1; /* Success */ } } diff --git a/ssl/statem/statem_lib.c b/ssl/statem/statem_lib.c index 334e1c7bd4..5c37e16b7f 100644 --- a/ssl/statem/statem_lib.c +++ b/ssl/statem/statem_lib.c @@ -2299,7 +2299,7 @@ int parse_ca_names(SSL *s, PACKET *pkt) const STACK_OF(X509_NAME) *get_ca_names(SSL *s) { - const STACK_OF(X509_NAME) *ca_sk = NULL;; + const STACK_OF(X509_NAME) *ca_sk = NULL; if (s->server) { ca_sk = SSL_get_client_CA_list(s); diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 88912be23c..ad248c4cdf 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -982,7 +982,7 @@ static int tls1_check_cert_param(SSL *s, X509 *x, int check_ee_md) return 0; /* Should never happen */ for (i = 0; i < s->shared_sigalgslen; i++) { if (check_md == s->shared_sigalgs[i]->sigandhash) - return 1;; + return 1; } return 0; } |