Since changeset
2fd6f99b allows nested encryption handling, there is
no need to deal with the nesting directly. Instead, just recursive as
with other nested handling.
goto decrypt_failed;
}
- /* S/MIME nesting */
- if ((mutt_is_application_smime (new_body) & SMIMEOPAQUE) == SMIMEOPAQUE)
- {
- BODY *outer_new_body = new_body;
- FILE *outer_fp = new_fp;
-
- new_body = NULL;
- new_fp = NULL;
-
- secured = !crypt_smime_decrypt_mime (outer_fp, &new_fp, outer_new_body,
- &new_body);
-
- mutt_free_body (&outer_new_body);
- safe_fclose (&outer_fp);
- }
-
if (secured && (type & ENCRYPT))
hdr->security |= SMIMEENCRYPT;
}