aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-10-06 10:38:23 +0000
committerWerner Koch <[email protected]>2005-10-06 10:38:23 +0000
commit02aefe38668639410326d27bcacb607eb2ad4e85 (patch)
treeaa452e4e00462f4b2bdceeb789e9d14db671cb7f /g10/export.c
parentFixes for the g10.c -> gpg.c renamed (diff)
downloadgnupg-02aefe38668639410326d27bcacb607eb2ad4e85.tar.gz
gnupg-02aefe38668639410326d27bcacb607eb2ad4e85.zip
Yet another fix for the gpg.c rename
Diffstat (limited to '')
-rw-r--r--g10/export.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/g10/export.c b/g10/export.c
index d9ca9c089..a8ac6d8cf 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -340,6 +340,21 @@ do_export_stream( IOBUF out, STRLIST users, int secret,
default:
break;
}
+
+ /* XXX: before skipping a subkey, check whether any
+ other description wants an exact macth on a subkey
+ and include that subkey into the output too. Need
+ to add this subkey to a list so that it won't get
+ processed a second time.
+
+ So the first step here is to check that list and
+ skip in any case if the key is in that list.
+
+ We need this whole mess becuase the import fnction
+ is not able to merge secret key and thus it is not
+ possible to output them as two keys and have import
+ merge them.
+ */
if(skip_until_subkey)
continue;