summaryrefslogtreecommitdiff
path: root/sample/openssl/c_rehash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/openssl/c_rehash.rb')
-rw-r--r--sample/openssl/c_rehash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/openssl/c_rehash.rb b/sample/openssl/c_rehash.rb
index cd6c9d5fd4..8282816b9d 100644
--- a/sample/openssl/c_rehash.rb
+++ b/sample/openssl/c_rehash.rb
@@ -161,7 +161,7 @@ private
end
def fingerprint(der)
- Digest::MD5.hexdigest(der).upcase
+ Digest.hexdigest('MD5', der).upcase
end
end