mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
Final fix which should now pass all tests.
This commit is contained in:
parent
82423b1e94
commit
13e646d938
@ -6,6 +6,7 @@
|
||||
bit time_t.
|
||||
(save_unprotected_key_to_card): Made RSA_N_LEN et al a size_t.
|
||||
Cast printf args.
|
||||
(get_parameter_algo): Allow "ELG" as alias for "ELG-E".
|
||||
|
||||
* seckey-cert.c (do_check): Made NBYTES a size_t.
|
||||
(do_check): Made NDATA a size_t.
|
||||
|
@ -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…
x
Reference in New Issue
Block a user