+2007-06-27 10:38 -0700 Dan Fandrich <dan@coneharvesters.com> (3354ac2e79c7)
+
+ * pager.c: Fix %P in pager status for off_t variability.
+
+2007-06-27 10:35 -0700 Dan Fandrich <dan@coneharvesters.com> (095360e1b819)
+
+ * dotlock.c: remove a double inclusion of config.h
+
2007-06-14 18:17 -0700 Sertaç <Sertaç Ö. Yıldız> (55cd4cb611d9)
* rfc3676.c: flowed: consider a single space as a hard line break.
2007-06-13 10:43 -0700 Vsevolod Volkov <vvv@mutt.org.ua> (8d02c65ed0b5)
- * ChangeLog, po/ru.po: Updated Russian translation
+ * po/ru.po: Updated Russian translation
2007-06-11 09:27 -0700 René Clerc <rene@clerc.nl> (5eaa1cfe80ad)
if (!mutt_strncmp ("-----BEGIN PGP ", buf, 15))
{
if (!mutt_strcmp ("MESSAGE-----\n", buf + 15))
+ {
enc = 1;
+ break;
+ }
else if (!mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15))
+ {
sgn = 1;
+ break;
+ }
}
}
safe_fclose (&tfp);
|| (clearsign && (s->flags & M_VERIFY)));
/* Copy PGP material to an data container */
- armored_data = create_gpgme_data ();
- gpgme_data_write (armored_data, buf, strlen (buf));
- while (bytes > 0 && fgets (buf, sizeof (buf) - 1, s->fpin) != NULL)
- {
- offset = ftello (s->fpin);
- bytes -= (offset - last_pos); /* don't rely on mutt_strlen(buf)*/
- last_pos = offset;
-
- gpgme_data_write (armored_data, buf, strlen (buf));
-
- if ((needpass
- && !mutt_strcmp ("-----END PGP MESSAGE-----\n", buf))
- || (!needpass
- && (!mutt_strcmp ("-----END PGP SIGNATURE-----\n", buf)
- || !mutt_strcmp (
- "-----END PGP PUBLIC KEY BLOCK-----\n",buf))))
- break;
- }
-
+ armored_data = file_to_data_object (s->fpin, m->offset, m->length);
/* Invoke PGP if needed */
if (!clearsign || (s->flags & M_VERIFY))
{