Skip to content

Commit

Permalink
Accept expired certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Jun 26, 2024
1 parent e639f5b commit 406a146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions librb/src/openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ rb_get_ssl_certfp(rb_fde_t *const F, uint8_t certfp[const RB_SSL_CERTFP_LEN], co
switch(SSL_get_verify_result(SSL_P(F)))
{
case X509_V_OK:
case X509_V_ERR_CERT_HAS_EXPIRED:
case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN:
case X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE:
case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
Expand Down

0 comments on commit 406a146

Please sign in to comment.