aboutsummaryrefslogtreecommitdiffstats
path: root/g10/armor.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-02-17 20:48:52 +0000
committerWerner Koch <[email protected]>1998-02-17 20:48:52 +0000
commitc8bb57d05d1b237e16f93d95a4df5a1d343c4c5a (patch)
tree7692d6a234d6c22528ffce134ad0f6c904eaa91f /g10/armor.c
parentremoved password from key two (diff)
downloadgnupg-c8bb57d05d1b237e16f93d95a4df5a1d343c4c5a.tar.gz
gnupg-c8bb57d05d1b237e16f93d95a4df5a1d343c4c5a.zip
import works
Diffstat (limited to 'g10/armor.c')
-rw-r--r--g10/armor.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/armor.c b/g10/armor.c
index 17dc444b8..03a393b35 100644
--- a/g10/armor.c
+++ b/g10/armor.c
@@ -87,12 +87,15 @@ static char *head_strings[] = {
"BEGIN PGP PUBLIC KEY BLOCK",
"BEGIN PGP SIGNATURE",
"BEGIN PGP SIGNED MESSAGE",
+ "BEGIN PGP ARMORED FILE",
NULL
};
static char *tail_strings[] = {
"END PGP MESSAGE",
"END PGP PUBLIC KEY BLOCK",
"END PGP SIGNATURE",
+ "END dummy",
+ "END PGP ARMORED FILE",
NULL
};
@@ -248,7 +251,7 @@ static fhdr_state_t
find_header( fhdr_state_t state, byte *buf, size_t *r_buflen,
IOBUF a, size_t n, unsigned *r_empty)
{
- int c, i;
+ int c=0, i;
const char *s;
byte *p;
size_t buflen;