]> granicus.if.org Git - neomutt/commitdiff
Fix application/pgp signatures.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 26 Mar 2002 19:57:20 +0000 (19:57 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 26 Mar 2002 19:57:20 +0000 (19:57 +0000)
pgpinvoke.c

index de1c0c711ea96d3144eb99dfd2da200bb9e69d48..2502785427387f521305b4794ee6bf9a7187edb1 100644 (file)
@@ -242,7 +242,7 @@ pid_t pgp_invoke_traditional (FILE **pgpin, FILE **pgpout, FILE **pgperr,
                              int pgpinfd, int pgpoutfd, int pgperrfd,
                              const char *fname, const char *uids, int flags)
 {
-  if (flags & PGPENCRYPT)
+  if (flags & ENCRYPT)
     return pgp_invoke (pgpin, pgpout, pgperr, pgpinfd, pgpoutfd, pgperrfd,
                       flags & PGPSIGN ? 1 : 0, fname, NULL, PgpSignAs, uids, 
                       flags & PGPSIGN ? PgpEncryptSignCommand : PgpEncryptOnlyCommand);