summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2025-11-07 00:45:10 +0900
committerKazuki Yamaguchi <k.github.xq3nw23egf7xvpit@rhe.jp>2025-11-06 08:19:28 -0800
commitf7e7443aaa9bdebefbdbfbd57cdda3a0d7febfdd (patch)
tree163dc9681a2815f1e1a1ea459d01529cbf754e23 /include
parent87ae631b406ee6996558544f9781abbac697f7a9 (diff)
Adjust OpenSSL specs for digest algorithm lookup
https://github.com/ruby/openssl/pull/958 changed the common logic for digest algorithm lookup: - If the argument is neither an OpenSSL::Digest instance nor a String, it is now implicitly converted to String with #to_str. This is consistent with algorithm name lookup logic in ruby/openssl for pkeys and ciphers. - If the name is not recognized, OpenSSL::Digest::DigestError is raised instead of RuntimeError. Update the specs accordingly: - Remove specs that expect #to_str not to be called. - Relax regexps matching TypeError messages. - Expect OpenSSL::Digest::DigestError instead of RuntimeError for ruby/openssl 4.0.0 and later.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions