From: Andrew Engelbrecht Date: Thu, 23 Jul 2015 17:56:48 +0000 (-0400) Subject: don't check message block for encryption status X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5c40e67609905c8a50c990239f83e83ebf36593f;p=edward.git don't check message block for encryption status if it was only an armored signature, then it had its piece_type field changed and this code would not be reached in that case. --- diff --git a/edward b/edward index aeead6a..beb17f1 100755 --- a/edward +++ b/edward @@ -361,11 +361,7 @@ def prepare_for_reply_message (piece, replyinfo_obj): replyinfo_obj.failed_decrypt = True return - if piece.gpg_data.decrypted == False: - prepare_for_reply_sig(piece, replyinfo_obj) - return - else: - replyinfo_obj.success_decrypt = True + replyinfo_obj.success_decrypt = True # we already have a key (and a message) if replyinfo_obj.target_key != None: