lib/openssl/win/root.rb in openssl-win-root-1.0.0 vs lib/openssl/win/root.rb in openssl-win-root-1.0.1
- old
+ new
@@ -50,10 +50,10 @@
FileUtils.mkdir_p x
@path = x
end
# Almost c_rehash
- def self.save(path=path)
+ def self.save(path=self.path)
names={}
hashes={}
Crypt.each do |crt|
peers=hashes[hash=crt.subject.hash]||={}
id=OpenSSL::Digest::SHA1.new.digest crt.to_der