avoids double-semicolon problem leading to empty messages in pre-master releases

This commit is contained in:
holger krekel
2019-12-03 15:44:15 +01:00
parent 73f80624b2
commit 2df43b6c5d

View File

@@ -516,7 +516,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
// Set the appropriate Content-Type for the outer message
let mut outer_message = PartBuilder::new().header((
"Content-Type".to_string(),
"multipart/encrypted; protocol=\"application/pgp-encrypted\";".to_string(),
"multipart/encrypted; protocol=\"application/pgp-encrypted\"".to_string(),
));
// Store the unprotected headers on the outer message.