mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixes
This commit is contained in:
parent
0f49adb44e
commit
df52700f5c
41 changed files with 6137 additions and 6033 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-10-19 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keygen.c (get_parameter_algo): Add special case for ELG_E which
|
||||
is not supported by libgcrypt's mapping function.
|
||||
|
||||
2006-10-18 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keyid.c (v3_keyid): Don't use mempcy as we need to hold the
|
||||
|
|
|
@ -1907,8 +1907,8 @@ main (int argc, char **argv )
|
|||
#endif
|
||||
|
||||
/* Initialize the secure memory. */
|
||||
gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0);
|
||||
got_secmem = 1; /* FIXME: gcry_control should return an indicator. */
|
||||
if (!gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0))
|
||||
got_secmem = 1;
|
||||
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
|
||||
/* There should be no way to get to this spot while still carrying
|
||||
setuid privs. Just in case, bomb out if we are. */
|
||||
|
|
|
@ -2176,6 +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") )
|
||||
i = GCRY_PK_ELG_E;
|
||||
else
|
||||
i = gcry_pk_map_name (r->u.value);
|
||||
if (i == PUBKEY_ALGO_RSA_E || i == PUBKEY_ALGO_RSA_S)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue