Skip to content

Commit 52c6860

Browse files
committed
Fix [-Wimplicit-fallthrough] warnings in OpenSSL extension
1 parent 196a817 commit 52c6860

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/openssl/xp_ssl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ static int php_openssl_apply_peer_verification_policy(SSL *ssl, X509 *peer, php_
545545
break;
546546
}
547547
/* not allowed, so fall through */
548+
fallthrough;
548549
default:
549550
php_error_docref(NULL, E_WARNING,
550551
"Could not verify peer: code:%d %s",

0 commit comments

Comments
 (0)