[ruby/openssl] c_rehash: fix hash_name output for small hashes

The hash lookup is done by 8-character hash.

https://github.com/ruby/openssl/commit/fedb57255c
This commit is contained in:
Orgad Shaneh 2025-09-15 20:53:55 +03:00 committed by git
parent ce1ed871b7
commit 0f3c6ca480

View File

@ -156,7 +156,7 @@ private
end end
def hash_name(name) def hash_name(name)
sprintf("%x", name.hash) sprintf("%08x", name.hash)
end end
def fingerprint(der) def fingerprint(der)