mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 04:07:58 +00:00
[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:
parent
ce1ed871b7
commit
0f3c6ca480
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user