From fbed510b8fce2f01c3535303bf1b1fb1c891b17c Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Thu, 28 Feb 2019 15:51:20 +0100 Subject: [PATCH] msodde: Update crypto error --- oletools/msodde.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oletools/msodde.py b/oletools/msodde.py index b59b77e..adb3812 100644 --- a/oletools/msodde.py +++ b/oletools/msodde.py @@ -64,7 +64,7 @@ from oletools import xls_parser from oletools import rtfobj from oletools import oleid from oletools.common.log_helper import log_helper -from oletools.common.errors import FileIsEncryptedError +from oletools.common.errors import UnsupportedEncryptionError # ----------------------------------------------------------------------------- # CHANGELOG: @@ -898,7 +898,7 @@ def process_file(filepath, field_filter_mode=None): oid = oleid.OleID(ole) if oid.check_encrypted().value: log.debug('is encrypted - raise error') - raise FileIsEncryptedError(filepath) + raise UnsupportedEncryptionError(filepath) elif oid.check_powerpoint().value: log.debug('is ppt - cannot have DDE') return u'' -- libgit2 0.21.4