From daab17b4e0524bf21a114f309518eb1616730a78 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 30 Aug 2011 00:22:51 +0200 Subject: [PATCH] feature #754: If CA path is not defined, CAs will not be checked instead of raising an exception --- src/authm_mad/remotes/x509/x509_auth.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authm_mad/remotes/x509/x509_auth.rb b/src/authm_mad/remotes/x509/x509_auth.rb index c6906ec920..48fe58193f 100644 --- a/src/authm_mad/remotes/x509/x509_auth.rb +++ b/src/authm_mad/remotes/x509/x509_auth.rb @@ -182,8 +182,8 @@ private end # Validate the End Entity certificate - if !@options[:ca_dir] - raise failed + "No certifcate authority directory was specified." + if !@options[:ca_dir] + return end begin