 +	PG_FREE_IF_COPY(key, 1);
 +	PG_FREE_IF_COPY(sigkey, 2);
 +	if (PG_NARGS() > 3)
-+		PG_FREE_IF_COPY(arg, 3);
++		PG_FREE_IF_COPY(psw, 3);
 +	if (PG_NARGS() > 4)
 +		PG_FREE_IF_COPY(arg, 4);
 +	PG_RETURN_TEXT_P(res);

+	PG_FREE_IF_COPY(key, 1);
+	PG_FREE_IF_COPY(sigkey, 2);
+	if (PG_NARGS() > 3)
+		PG_FREE_IF_COPY(arg, 3);
+	if (PG_NARGS() > 4)
+		PG_FREE_IF_COPY(arg, 4);
+	PG_RETURN_TEXT_P(res);

+	PGP_ISSUER_ID = 16
+};
+
 #define PGP_MAX_KEY    (256/8)
 #define PGP_MAX_BLOCK  (256/8)
 #define PGP_MAX_DIGEST (512/8)
+#define PGP_MAX_DIGEST_ASN1_PREFIX	20
 #define PGP_S2K_SALT   8
 
 typedef struct PGP_MPI PGP_MPI;
 typedef struct PGP_PubKey PGP_PubKey;
