summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
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: