]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
unified constants
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 25 Dec 2013 15:18:49 +0000 (16:18 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 25 Dec 2013 15:18:49 +0000 (16:18 +0100)
lib/nettle/pk.c

index 18a83bcf5b427456eed205521604d737815aa5c8..286592240adc179e5ed88221e0b93b75ded46c8f 100644 (file)
@@ -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