From 2699c4c41f9bfe08f6b69c982a7014f577ee0786 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 13 Nov 2003 23:17:31 +0000 Subject: Remove mempool code, we use the stuff in e-util. (PRESERVE_HEADERS): new 2003-11-13 Not Zed * camel-mime-parser.c: Remove mempool code, we use the stuff in e-util. (PRESERVE_HEADERS): new compile option, if on, we preserve headers and folding exactly rather than unfolding all input. THIS BREAKS EVERYTHING right now, so don't turn it on. * camel-gpg-context.c (gpg_decrypt): reset the input memstream before passing it to the gpg engine. * tests/smime/pgp-mime.c (main): redirect /dev/null to stdin so it doesn't hang waiting for input. (main): removed from build - this tests multipart/signed explictly, but now the details of this is handled directly by the cipher context. * tests/smime/pgp.c (main): fixes for api changes. (main): redirect /dev/null to stdin so it doesn't hang waiting for input. * tests/message/test1.c (main): update for api changes. * camel-smime-context.c (sm_verify): look at the content object's mime type, not the container's type. svn path=/trunk/; revision=23343 --- camel/tests/smime/pgp-mime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/tests/smime/pgp-mime.c') diff --git a/camel/tests/smime/pgp-mime.c b/camel/tests/smime/pgp-mime.c index 557b3353ab..102092679a 100644 --- a/camel/tests/smime/pgp-mime.c +++ b/camel/tests/smime/pgp-mime.c @@ -141,7 +141,7 @@ int main (int argc, char **argv) setenv ("GNUPGHOME", "/tmp/camel-test/.gnupg", 1); /* import the gpg keys */ - if ((ret = system ("gpg > /dev/null 2>&1")) == -1) + if ((ret = system ("gpg < /dev/null > /dev/null 2>&1")) == -1) return 77; else if (WEXITSTATUS (ret) == 127) return 77; -- cgit v1.2.3