projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctors/dtors for BODY's
[apps/madmutt.git]
/
lib-crypt
/
smime.c
diff --git
a/lib-crypt/smime.c
b/lib-crypt/smime.c
index
fa7feac
..
f96b31d
100644
(file)
--- a/
lib-crypt/smime.c
+++ b/
lib-crypt/smime.c
@@
-1304,7
+1304,7
@@
BODY *smime_build_smime_entity (BODY * a, char *certlist)
return (NULL);
}
return (NULL);
}
- t =
mutt_new_body
();
+ t =
body_new
();
t->type = TYPEAPPLICATION;
t->subtype = m_strdup("x-pkcs7-mime");
parameter_setval(&t->parameter, "name", "smime.p7m");
t->type = TYPEAPPLICATION;
t->subtype = m_strdup("x-pkcs7-mime");
parameter_setval(&t->parameter, "name", "smime.p7m");
@@
-1420,7
+1420,7
@@
BODY *smime_sign_message (BODY * a)
return (NULL); /* fatal error while signing */
}
return (NULL); /* fatal error while signing */
}
- t =
mutt_new_body
();
+ t =
body_new
();
t->type = TYPEMULTIPART;
t->subtype = m_strdup("signed");
t->encoding = ENC7BIT;
t->type = TYPEMULTIPART;
t->subtype = m_strdup("signed");
t->encoding = ENC7BIT;
@@
-1436,7
+1436,7
@@
BODY *smime_sign_message (BODY * a)
t->parts = a;
a = t;
t->parts = a;
a = t;
- t->parts->next =
mutt_new_body
();
+ t->parts->next =
body_new
();
t = t->parts->next;
t->type = TYPEAPPLICATION;
t->subtype = m_strdup("x-pkcs7-signature");
t = t->parts->next;
t->type = TYPEAPPLICATION;
t->subtype = m_strdup("x-pkcs7-signature");