aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-06-05 00:35:42 +0200
committerRich Salz <rsalz@openssl.org>2016-06-18 16:30:24 -0400
commit823146d65fe145eb6024d84ab50ed63ba9f8705c (patch)
tree252c617ab71cd4cdfc2ceca7eb52e55c4439d24d /crypto/bn
parent93b8981d894fbac19e0478f87ede72f1a1b813ce (diff)
downloadopenssl-823146d65fe145eb6024d84ab50ed63ba9f8705c.tar.gz
Useless header include of openssl/rand.h
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1168)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/bn_depr.c1
-rw-r--r--crypto/bn/bn_prime.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/crypto/bn/bn_depr.c b/crypto/bn/bn_depr.c
index de54d5e8cb..7d89214b1c 100644
--- a/crypto/bn/bn_depr.c
+++ b/crypto/bn/bn_depr.c
@@ -21,7 +21,6 @@ NON_EMPTY_TRANSLATION_UNIT
# include <time.h>
# include "internal/cryptlib.h"
# include "bn_lcl.h"
-# include <openssl/rand.h>
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
const BIGNUM *add, const BIGNUM *rem,
diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c
index 81c2391ef8..df4f058d8c 100644
--- a/crypto/bn/bn_prime.c
+++ b/crypto/bn/bn_prime.c
@@ -13,7 +13,6 @@
#include <time.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
-#include <openssl/rand.h>
/*
* The quick sieve algorithm approach to weeding out primes is Philip