* add missing ifdef BUILD_CRYPTO block, so things build without crypto, too

This commit is contained in:
djcb
2012-09-17 10:07:26 +03:00
parent 55f7ecd362
commit cd506d6d79

View File

@ -439,12 +439,14 @@ handle_part (MuMsg *msg, GMimePart *part, GMimeObject *parent,
msgpart.part_type |= MU_MSG_PART_TYPE_TEXT_HTML; msgpart.part_type |= MU_MSG_PART_TYPE_TEXT_HTML;
} }
#ifdef HAVE_CRYPTO
/* put the verification info in the pgp-signature part */ /* put the verification info in the pgp-signature part */
msgpart.sig_status_report = NULL; msgpart.sig_status_report = NULL;
if (g_ascii_strcasecmp (msgpart.subtype, "pgp-signature") == 0) if (g_ascii_strcasecmp (msgpart.subtype, "pgp-signature") == 0)
msgpart.sig_status_report = msgpart.sig_status_report =
(MuMsgPartSigStatusReport*) (MuMsgPartSigStatusReport*)
g_object_get_data (G_OBJECT(parent), SIG_STATUS_REPORT); g_object_get_data (G_OBJECT(parent), SIG_STATUS_REPORT);
#endif /*HAVE_CRYPTO*/
msgpart.data = (gpointer)part; msgpart.data = (gpointer)part;
msgpart.index = index; msgpart.index = index;