diff options
author | Ben Laurie <ben@links.org> | 2015-10-03 16:43:21 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2015-10-24 16:42:51 +0100 |
commit | 2f1a5d1694c4b59ea94115ed4e9577c5bb826c26 (patch) | |
tree | dcb1482044f7b4836ba9ce637e43af1e8be810f5 /crypto/dh | |
parent | 070c23325af4526c9a8532a60d63522c58d5554b (diff) | |
download | openssl-2f1a5d1694c4b59ea94115ed4e9577c5bb826c26.tar.gz |
Fix undeclared variable warnings.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/Makefile | 4 | ||||
-rw-r--r-- | crypto/dh/dh_rfc5114.c | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/crypto/dh/Makefile b/crypto/dh/Makefile index 655bca0d45..6beeceff57 100644 --- a/crypto/dh/Makefile +++ b/crypto/dh/Makefile @@ -189,5 +189,5 @@ dh_rfc5114.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h dh_rfc5114.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h dh_rfc5114.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h dh_rfc5114.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h -dh_rfc5114.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h -dh_rfc5114.o: dh_rfc5114.c +dh_rfc5114.o: ../../include/openssl/symhacks.h ../include/internal/bn_dh.h +dh_rfc5114.o: ../include/internal/cryptlib.h dh_rfc5114.c diff --git a/crypto/dh/dh_rfc5114.c b/crypto/dh/dh_rfc5114.c index 8819ac087b..da998f574f 100644 --- a/crypto/dh/dh_rfc5114.c +++ b/crypto/dh/dh_rfc5114.c @@ -60,6 +60,7 @@ #include "internal/cryptlib.h" #include <openssl/dh.h> #include <openssl/bn.h> +#include "internal/bn_dh.h" /* * Macro to make a DH structure from BIGNUM data. NB: although just copying @@ -68,9 +69,6 @@ */ #define make_dh(x) \ -\ -extern const BIGNUM _bignum_dh##x##_p, _bignum_dh##x##_g, _bignum_dh##x##_q; \ -\ DH *DH_get_##x(void) \ { \ DH *dh = DH_new(); \ |