From 103b1b5198828876fa0684296900769018075f1b Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 11 Nov 2013 14:08:51 -0500 Subject: bcfg2-crypt: fixed missing EVPError --- src/sbin/bcfg2-crypt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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: -- cgit v1.2.3-1-g7c22