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.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/openssl/c_rehash.rb b/sample/openssl/c_rehash.rb
index 8282816b9d..de4b66e902 100644
--- a/sample/openssl/c_rehash.rb
+++ b/sample/openssl/c_rehash.rb
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
require 'openssl'
-require 'digest/md5'
class CHashDir
include Enumerable
@@ -161,7 +160,7 @@ private
end
def fingerprint(der)
- Digest.hexdigest('MD5', der).upcase
+ OpenSSL::Digest.hexdigest('MD5', der).upcase
end
end