summaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_rfc5114.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2015-09-05 13:32:58 +0100
committerBen Laurie <ben@links.org>2015-09-11 04:51:55 +0100
commitdf2ee0e27d2db02660c1d15fe6a3e38be9df0a60 (patch)
tree8a86e360b2f0c811186bf7009f20d13b0c65b820 /crypto/dh/dh_rfc5114.c
parent4c7103a5eee1dc472e256ac8818610c6e98a9a39 (diff)
Enable -Wmissing-variable-declarations and
-Wincompatible-pointer-types-discards-qualifiers (the latter did not require any code changes). Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/dh/dh_rfc5114.c')
-rw-r--r--crypto/dh/dh_rfc5114.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/dh/dh_rfc5114.c b/crypto/dh/dh_rfc5114.c
index 752bf2cd12..61cd9ad4d1 100644
--- a/crypto/dh/dh_rfc5114.c
+++ b/crypto/dh/dh_rfc5114.c
@@ -61,11 +61,6 @@
#include <openssl/dh.h>
#include <openssl/bn.h>
-#define make_dh_bn(x) \
- const extern BIGNUM _bignum_dh##x##_p;\
- const extern BIGNUM _bignum_dh##x##_g;\
- const extern BIGNUM _bignum_dh##x##_q;
-
/*
* Macro to make a DH structure from BIGNUM data. NB: although just copying
* the BIGNUM static pointers would be more efficient we can't as they get
@@ -90,10 +85,6 @@ DH * DH_get_##x(void) \
return dh; \
}
-make_dh_bn(1024_160)
-make_dh_bn(2048_224)
-make_dh_bn(2048_256)
-
make_dh(1024_160)
make_dh(2048_224)
make_dh(2048_256)