1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #1790: bug in crl check function

This commit is contained in:
Javi Fontan 2013-03-07 12:45:04 +01:00
parent aedb8239e7
commit ca1b6ab41f

View File

@ -199,7 +199,6 @@ private
###########################################################################
def validate
now = Time.now
failed = "Could not validate user credentials: "
# Check start time and end time of certificates
@cert_chain.each do |cert|
@ -251,6 +250,8 @@ private
end
def check_crl(signee)
failed = "Could not validate user credentials: "
ca_hash = signee.issuer.hash.to_s(16)
ca_path = @options[:ca_dir] + '/' + ca_hash + '.0'