aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/smime/pgp-mime.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-11-14 07:17:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-11-14 07:17:31 +0800
commit2699c4c41f9bfe08f6b69c982a7014f577ee0786 (patch)
tree306c1cf35b74ba9a5750834ea76ce0767b07ea19 /camel/tests/smime/pgp-mime.c
parentcac6efa61f999754fb2832b3600c89b3b5f9d96d (diff)
downloadgsoc2013-evolution-2699c4c41f9bfe08f6b69c982a7014f577ee0786.tar
gsoc2013-evolution-2699c4c41f9bfe08f6b69c982a7014f577ee0786.tar.gz
gsoc2013-evolution-2699c4c41f9bfe08f6b69c982a7014f577ee0786.tar.bz2
gsoc2013-evolution-2699c4c41f9bfe08f6b69c982a7014f577ee0786.tar.lz
gsoc2013-evolution-2699c4c41f9bfe08f6b69c982a7014f577ee0786.tar.xz
gsoc2013-evolution-2699c4c41f9bfe08f6b69c982a7014f577ee0786.tar.zst
gsoc2013-evolution-2699c4c41f9bfe08f6b69c982a7014f577ee0786.zip
Remove mempool code, we use the stuff in e-util. (PRESERVE_HEADERS): new
2003-11-13 Not Zed <NotZed@Ximian.com> * 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
Diffstat (limited to 'camel/tests/smime/pgp-mime.c')
-rw-r--r--camel/tests/smime/pgp-mime.c2
1 files changed, 1 insertions, 1 deletions
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;