From: Nikos Mavrogiannopoulos Date: Wed, 25 Dec 2013 15:18:49 +0000 (+0100) Subject: unified constants X-Git-Tag: gnutls_3_3_0pre0~400 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca6b4f01c3d12b097024322ccde06fc3e4d75188;p=thirdparty%2Fgnutls.git unified constants --- diff --git a/lib/nettle/pk.c b/lib/nettle/pk.c index 18a83bcf5b..286592240a 100644 --- a/lib/nettle/pk.c +++ b/lib/nettle/pk.c @@ -167,7 +167,7 @@ ecc_shared_secret(struct ecc_scalar *private_key, return; } -#define MAX_DH_BITS 16*1024 +#define MAX_DH_BITS DEFAULT_MAX_VERIFY_BITS /* This is used for DH or ECDH key derivation. In DH for example * it is given the peers Y and our x, and calculates Y^x