aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-10-23 15:59:45 +0000
committerDavid Shaw <[email protected]>2002-10-23 15:59:45 +0000
commit64291d81bea0b4a2efbf3a1be30f47a6c74d9a0a (patch)
tree479c19da44bec2ceb64c5accad28b47551d38706 /g10/g10.c
parent* gpgsplit.c: New options --secret-to-public and --no-split. (diff)
downloadgnupg-64291d81bea0b4a2efbf3a1be30f47a6c74d9a0a.tar.gz
gnupg-64291d81bea0b4a2efbf3a1be30f47a6c74d9a0a.zip
* main.h, import.c (sec_to_pub_keyblock, import_secret_one,
parse_import_options), g10.c (main): New import-option "convert-sk-to-pk" to convert a secret key into a public key during import. It is on by default.
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index c2e095bf9..8331f7f1e 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1128,7 +1128,7 @@ main( int argc, char **argv )
opt.pgp2_workarounds = 1;
opt.force_v3_sigs = 1;
opt.escape_from = 1;
- opt.import_options=0;
+ opt.import_options=IMPORT_SK2PK;
opt.export_options=
EXPORT_INCLUDE_NON_RFC|EXPORT_INCLUDE_ATTRIBUTES;
opt.keyserver_options.import_options=IMPORT_REPAIR_HKP_SUBKEY_BUG;