mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Editorial cleanups of keygen.c
Also fixed a regression introduced by me in pubkey_enc.c. Added extra checks. Removed unused code.
This commit is contained in:
parent
b9958bba10
commit
638dca5dbc
6 changed files with 167 additions and 258 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue