aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
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/main.h
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/main.h')
-rw-r--r--g10/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 15e67dd41..57c7e8ce6 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -153,6 +153,7 @@ KBNODE make_mpi_comment_node( const char *s, MPI a );
#define IMPORT_ALLOW_LOCAL_SIGS 1
#define IMPORT_REPAIR_HKP_SUBKEY_BUG 2
#define IMPORT_FAST_IMPORT 4
+#define IMPORT_SK2PK 8
int parse_import_options(char *str,unsigned int *options);
void import_keys( char **fnames, int nnames,