mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Still making gpg2 work.
At least the keyids are now correctly computed again.
This commit is contained in:
parent
fbe4ac37f6
commit
b61df862a7
9 changed files with 91 additions and 18 deletions
|
@ -370,12 +370,12 @@ keygen_set_std_prefs (const char *string,int personal)
|
|||
|
||||
while((tok=strsep(&prefstring," ,")))
|
||||
{
|
||||
if((val=gcry_cipher_map_name (tok)))
|
||||
if((val=string_to_cipher_algo (tok)))
|
||||
{
|
||||
if(set_one_pref(val,1,tok,sym,&nsym))
|
||||
rc=-1;
|
||||
}
|
||||
else if((val=gcry_md_map_name (tok)))
|
||||
else if((val=string_to_digest_algo (tok)))
|
||||
{
|
||||
if(set_one_pref(val,2,tok,hash,&nhash))
|
||||
rc=-1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue