mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Final fix which should now pass all tests.
This commit is contained in:
parent
82423b1e94
commit
13e646d938
2 changed files with 3 additions and 1 deletions
|
@ -2176,7 +2176,8 @@ get_parameter_algo( struct para_data_s *para, enum para_name key )
|
|||
return -1;
|
||||
if( digitp( r->u.value ) )
|
||||
i = atoi( r->u.value );
|
||||
else if ( !strcmp ( r->u.value, "ELG-E") )
|
||||
else if ( !strcmp ( r->u.value, "ELG-E")
|
||||
|| !strcmp ( r->u.value, "ELG") )
|
||||
i = GCRY_PK_ELG_E;
|
||||
else
|
||||
i = gcry_pk_map_name (r->u.value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue