Branch: Tag:

2014-01-13

2014-01-13 16:04:03 by Per Hedbor <ph@opera.com>

Older versions of nettle (2.0) does not have the qbits argument to generate_dsa_keypair.

79:    dsa_private_key_init(&key);       if( !nettle_dsa_generate_keypair(&pub, &key, rnd, random_func_wrapper, -  NULL, NULL, p_bits, q_bits) ) +  NULL, NULL, p_bits + #ifdef HAVE_DSA_QBITS_KEYPAIR_ARG +  , q_bits + #endif +  ) )    {    dsa_private_key_clear(&key);    dsa_public_key_clear(&pub);