aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-01-25 15:54:18 +0000
committerWerner Koch <[email protected]>2011-01-25 15:54:18 +0000
commit638dca5dbc7e119ff5a05dbdb109fbc171624605 (patch)
tree6202ab6577f62b18ba5f5a77056977a4bfd5b5f1 /g10/main.h
parentFix another stupid bug ECDH detection bug (diff)
downloadgnupg-638dca5dbc7e119ff5a05dbdb109fbc171624605.tar.gz
gnupg-638dca5dbc7e119ff5a05dbdb109fbc171624605.zip
Editorial cleanups of keygen.c
Also fixed a regression introduced by me in pubkey_enc.c. Added extra checks. Removed unused code.
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/g10/main.h b/g10/main.h
index 1b6f30516..ea1ac2e1f 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -260,11 +260,6 @@ gpg_error_t generate_card_subkeypair (kbnode_t pub_keyblock,
int save_unprotected_key_to_card (PKT_public_key *sk, int keyno);
#endif
-#define KEYGEN_FLAG_NO_PROTECTION 1
-#define KEYGEN_FLAG_TRANSIENT_KEY 2
-int pk_ecc_keypair_gen (PKT_public_key **pk_out, int algo,
- int keygen_flags, char **cache_nonce_addr,
- unsigned nbits);
/*-- openfile.c --*/
int overwrite_filep( const char *fname );