]> granicus.if.org Git - neomutt/commitdiff
Fix PGP clear signature handling.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 3 Feb 2005 18:44:27 +0000 (18:44 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 3 Feb 2005 18:44:27 +0000 (18:44 +0000)
pgp.c

diff --git a/pgp.c b/pgp.c
index 9ce8cd674d07d0312a4a7939f739d137f84550cc..3b8b9a5be55cf9f58b313add67efe16bac5ef52d 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 1996,1997 Michael R. Elkins <me@mutt.org>
- * Copyright (c) 1998,1999 Thomas Roessler <roessler@does-not-exist.org>
+ * Copyright (C) 1998,1999 Thomas Roessler <roessler@does-not-exist.org>
  * Copyright (C) 2004 g10 Code GmbH
  *
  *     This program is free software; you can redistribute it and/or modify
@@ -213,7 +213,7 @@ static void pgp_copy_clearsigned (FILE *fpin, STATE *s, char *charset)
     if (armor_header)
     {
       char *p = mutt_skip_whitespace (buf);
-      if (*p == '\n') 
+      if (*p == '\0') 
        armor_header = 0;
       continue;
     }