aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/runners
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/runners')
-rw-r--r--src/mailman_pgp/runners/incoming.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman_pgp/runners/incoming.py b/src/mailman_pgp/runners/incoming.py
index 3c9c3b2..aae6bda 100644
--- a/src/mailman_pgp/runners/incoming.py
+++ b/src/mailman_pgp/runners/incoming.py
@@ -45,15 +45,15 @@ class IncomingRunner(Runner):
# Is the message encrypted?
mime = PGPMIMEWrapper(msg)
inline = PGPInlineWrapper(msg)
- if mime.is_mime_signed():
+ if mime.is_signed():
# only signed.
pass
- elif mime.is_mime_encrypted():
+ elif mime.is_encrypted():
# definitely encrypted, might still be signed
pass
- elif inline.is_inline_signed():
+ elif inline.is_signed():
pass
- elif inline.is_inline_encrypted():
+ elif inline.is_encrypted():
pass
else:
# not encrypted or signed