remove buggy pgp plaintext code
[claws.git] / src / mimeview.c
index 969e211b0fe907de0f58e0eea662ce49a724bca9..a99a5e8a849fbea4eff7090db4775e2e16759cd2 100644 (file)
@@ -229,7 +229,6 @@ void mimeview_init(MimeView *mimeview)
 static gboolean mimeview_is_signed(MimeView *mimeview)
 {
        MimeInfo *partinfo = NULL;
-       MsgInfo *msginfo = NULL;
 
         debug_print("mimeview_is signed of %p\n", mimeview);
 
@@ -250,8 +249,6 @@ static gboolean mimeview_is_signed(MimeView *mimeview)
        do {
                if (rfc2015_has_signature(partinfo))
                        return TRUE;
-               if (pgptext_has_signature(msginfo, partinfo))
-                       return TRUE;
         } while ((partinfo = partinfo->parent) != NULL);
 
        debug_print("mimeview_is_signed: FALSE\n" );