lib/ccrypto/configs/x509_csr_profile.rb in ccrypto-0.1.3 vs lib/ccrypto/configs/x509_csr_profile.rb in ccrypto-0.2.0
- old
+ new
@@ -14,10 +14,10 @@
attr_accessor :org_unit, :email, :dns_name, :ip_addr, :uri
attr_accessor :public_key
attr_accessor :hashAlgo
def initialize
- @hashAlgo = Ccrypto::SHA256
+ @hashAlgo = :sha256
end
def org_unit
if @org_unit.nil?
[]