summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-11 14:08:51 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-11 14:08:51 -0500
commit103b1b5198828876fa0684296900769018075f1b (patch)
treee573650740b79bcf10f2273d0927eeffc9329bec /src/sbin
parentba22b9e3f8d993d7e0c4c762fac338c8684e3f81 (diff)
downloadbcfg2-103b1b5198828876fa0684296900769018075f1b.tar.gz
bcfg2-103b1b5198828876fa0684296900769018075f1b.tar.bz2
bcfg2-103b1b5198828876fa0684296900769018075f1b.zip
bcfg2-crypt: fixed missing EVPError
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-crypt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-crypt b/src/sbin/bcfg2-crypt
index c67334738..98a1ca4b0 100755
--- a/src/sbin/bcfg2-crypt
+++ b/src/sbin/bcfg2-crypt
@@ -300,8 +300,7 @@ class PropertiesDecryptor(Decryptor, PropertiesCryptoMixin):
decrypted = Bcfg2.Encryption.ssl_decrypt(
elt.text, passphrase,
Bcfg2.Encryption.get_algorithm(self.setup)).strip()
- except EVPError:
-
+ except Bcfg2.Encryption.EVPError:
self.logger.error("Could not decrypt %s, skipping" %
print_xml(elt))
try: