mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Do not use a fixed string for --gpgconf-list:default_pubkey_algo.
* g10/keygen.c (get_default_pubkey_algo): New. (parse_key_parameter_string): Use it. * g10/gpg.c (gpgconf_list): Take value from new function. -- Note that consumers of that gpgconf-list value may need to be adjusted to that new value. It should anyway only be used to display the default algorithm. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
522e6f798d
commit
f1304ee9b2
3 changed files with 20 additions and 2 deletions
|
@ -300,6 +300,7 @@ void keyedit_quick_set_expire (ctrl_t ctrl,
|
|||
void show_basic_key_info (KBNODE keyblock);
|
||||
|
||||
/*-- keygen.c --*/
|
||||
const char *get_default_pubkey_algo (void);
|
||||
u32 parse_expire_string(const char *string);
|
||||
u32 ask_expire_interval(int object,const char *def_expire);
|
||||
u32 ask_expiredate(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue