gcc7 fixes: make fallthrough explicit

This commit is contained in:
Simon Arlott 2018-01-19 23:17:57 +00:00
parent fd668f9d9e
commit 30053ab982
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -542,6 +542,7 @@ rb_get_ssl_certfp(rb_fde_t *const F, uint8_t certfp[const RB_SSL_CERTFP_LEN], co
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY:
case X509_V_ERR_CERT_UNTRUSTED: case X509_V_ERR_CERT_UNTRUSTED:
len = make_certfp(peer_cert, certfp, method); len = make_certfp(peer_cert, certfp, method);
// fallthrough
default: default:
X509_free(peer_cert); X509_free(peer_cert);
return len; return len;