mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Remove hacks which are not anymore needed since we now require Libgcrypt 1.4
This commit is contained in:
parent
d62ca1bf4a
commit
7d63aa42e5
27 changed files with 348 additions and 271 deletions
|
@ -500,17 +500,13 @@ static FILE *open_fwrite (const char *filename);
|
|||
static estream_t open_es_fwrite (const char *filename);
|
||||
static void run_protect_tool (int argc, char **argv);
|
||||
|
||||
/* Remove this if libgcrypt 1.3.0 is required. */
|
||||
#define MY_GCRY_PK_ECDSA 301
|
||||
|
||||
|
||||
static int
|
||||
our_pk_test_algo (int algo)
|
||||
{
|
||||
switch (algo)
|
||||
{
|
||||
case GCRY_PK_RSA:
|
||||
case MY_GCRY_PK_ECDSA:
|
||||
case GCRY_PK_ECDSA:
|
||||
return gcry_pk_test_algo (algo);
|
||||
default:
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue