Skip to content

Commit

Permalink
Fix declaration after case statement
Browse files Browse the repository at this point in the history
  • Loading branch information
rodarima committed Dec 23, 2023
1 parent 663f4cf commit 9ae760c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/IO/tls_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ static int Tls_examine_certificate(SSL *ssl, Server_t *srv)
ret = 0;
break;
case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
; /* Case follows declaration */
/* Either self signed and untrusted */
/* Extract CN from certificate name information */
X509_NAME *subject_name = X509_get_subject_name(remote_cert);
Expand Down

0 comments on commit 9ae760c

Please sign in to comment.