Skip to content

Commit

Permalink
Merge pull request #138 from ylecuyer/fix-ruby31-yle
Browse files Browse the repository at this point in the history
Fix: openssl add cert error on ruby 3.1
  • Loading branch information
jcoglan committed Jul 25, 2023
2 parents 2787792 + c6d96a3 commit cd4e7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faye/websocket/ssl_verifier.rb
Expand Up @@ -80,7 +80,7 @@ def parse_cert(cert_text)
def store_cert(certificate)
@cert_store.add_cert(certificate)
rescue OpenSSL::X509::StoreError => error
raise error unless error.message == 'cert already in hash table'
raise error unless error.message =~ /cert already in hash table/
end

def identity_verified?
Expand Down

0 comments on commit cd4e7bb

Please sign in to comment.