aboutsummaryrefslogtreecommitdiffstats
path: root/g10/revoke.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/revoke.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/revoke.c b/g10/revoke.c
index d90bcb581..b6e9e6398 100644
--- a/g10/revoke.c
+++ b/g10/revoke.c
@@ -551,7 +551,9 @@ gen_revoke( const char *uname )
if(opt.pgp2 || opt.pgp6 || opt.pgp7)
{
- rc=export_minimal_pk(out,NULL /*pub_keyblock*/,sig,NULL);
+ /* Use a minimal pk for PGPx mode, since PGP can't import bare
+ revocation certificates. */
+ rc=export_minimal_pk(out,pub_keyblock,sig,NULL);
if(rc)
goto leave;
}