diff --git a/gpg-interface.c b/gpg-interface.c index 3dc2fe397e32d79713780596f0ef4666c14b5955..4b4286050d4fc620ca9d24431452f20502c10583 100644 --- a/gpg-interface.c +++ b/gpg-interface.c @@ -7,9 +7,6 @@ static char *configured_signing_key; static const char *gpg_program = "gpg"; -#define PGP_SIGNATURE "-----BEGIN PGP SIGNATURE-----" -#define PGP_MESSAGE "-----BEGIN PGP MESSAGE-----" - void signature_check_clear(struct signature_check *sigc) { free(sigc->payload); diff --git a/gpg-interface.h b/gpg-interface.h index ea68885ad5b73aa63acc936eee52a61252420892..04b0eaba2c8386b5eac2d5c51556070ed9f132c2 100644 --- a/gpg-interface.h +++ b/gpg-interface.h @@ -4,6 +4,9 @@ #define GPG_VERIFY_VERBOSE 1 #define GPG_VERIFY_RAW 2 +#define PGP_SIGNATURE "-----BEGIN PGP SIGNATURE-----" +#define PGP_MESSAGE "-----BEGIN PGP MESSAGE-----" + struct signature_check { char *payload; char *gpg_output;