aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/export.c')
-rw-r--r--g10/export.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/export.c b/g10/export.c
index 4c70c7ce5..9e90b560c 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -197,6 +197,10 @@ do_export_stream( IOBUF out, STRLIST users, int secret, int onlyrfc, int *any )
SIGSUBPKT_EXPORTABLE, NULL );
if( p && !*p )
continue; /* not exportable */
+
+ /* delete our verification cache */
+ delete_sig_subpkt (node->pkt->pkt.signature->unhashed_data,
+ SIGSUBPKT_PRIV_VERIFY_CACHE);
}
if( secret == 2 && node->pkt->pkttype == PKT_SECRET_KEY ) {