Skip to content

"cert already in hash table" condition falling through #364

@vanjabucic

Description

@vanjabucic

I am seeing exception messages expanded to: X509_STORE_add_cert: cert already in hash table while the test is for exactly cert already in hash table as seen here:

raise e unless e.message == 'cert already in hash table'

Not sure when the error message changed but should we have a more lenient test of: e.message =~ /cert already in hash table/ ?

Without it it fails to connect due to a raised exception.

System: Amazon Linux 2, ruby 3.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions