aboutsummaryrefslogtreecommitdiffstats
path: root/g10/armor.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-07-02 19:31:46 +0000
committerWerner Koch <[email protected]>1998-07-02 19:31:46 +0000
commit97090f1293d43f67e36850c76aeba23760954757 (patch)
treeed63e6c5e37edeb337048cdcc84b471aa405f503 /g10/armor.c
parenttextual changes (diff)
downloadgnupg-97090f1293d43f67e36850c76aeba23760954757.tar.gz
gnupg-97090f1293d43f67e36850c76aeba23760954757.zip
partly added creation of OP partial length headers
Diffstat (limited to 'g10/armor.c')
-rw-r--r--g10/armor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/armor.c b/g10/armor.c
index 82b240f75..7fe2f8172 100644
--- a/g10/armor.c
+++ b/g10/armor.c
@@ -87,8 +87,9 @@ static char *head_strings[] = {
"BEGIN PGP PUBLIC KEY BLOCK",
"BEGIN PGP SIGNATURE",
"BEGIN PGP SIGNED MESSAGE",
- "BEGIN PGP ARMORED FILE",
- "BEGIN PGP SECRET KEY BLOCK",
+ "BEGIN PGP ARMORED FILE", /* gnupg extension */
+ "BEGIN PGP PRIVATE KEY BLOCK",
+ "BEGIN PGP SECRET KEY BLOCK", /* only used by pgp2 */
NULL
};
static char *tail_strings[] = {
@@ -97,6 +98,7 @@ static char *tail_strings[] = {
"END PGP SIGNATURE",
"END dummy",
"END PGP ARMORED FILE",
+ "END PGP PRIVATE KEY BLOCK",
"END PGP SECRET KEY BLOCK",
NULL
};