summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
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/rsa
parent93b8981d894fbac19e0478f87ede72f1a1b813ce (diff)
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/rsa')
-rw-r--r--crypto/rsa/rsa_lib.c1
-rw-r--r--crypto/rsa/rsa_none.c1
-rw-r--r--crypto/rsa/rsa_null.c1
-rw-r--r--crypto/rsa/rsa_ossl.c1
-rw-r--r--crypto/rsa/rsa_x931.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c
index 87a326184c..9ba86d856a 100644
--- a/crypto/rsa/rsa_lib.c
+++ b/crypto/rsa/rsa_lib.c
@@ -12,7 +12,6 @@
#include "internal/cryptlib.h"
#include <openssl/lhash.h>
#include "internal/bn_int.h"
-#include <openssl/rand.h>
#include <openssl/engine.h>
#include "rsa_locl.h"
diff --git a/crypto/rsa/rsa_none.c b/crypto/rsa/rsa_none.c
index 006d3bd617..b78756d186 100644
--- a/crypto/rsa/rsa_none.c
+++ b/crypto/rsa/rsa_none.c
@@ -10,7 +10,6 @@
#include "internal/cryptlib.h"
#include <openssl/bn.h>
#include <openssl/rsa.h>
-#include <openssl/rand.h>
int RSA_padding_add_none(unsigned char *to, int tlen,
const unsigned char *from, int flen)
diff --git a/crypto/rsa/rsa_null.c b/crypto/rsa/rsa_null.c
index 7f15955aa4..d339494120 100644
--- a/crypto/rsa/rsa_null.c
+++ b/crypto/rsa/rsa_null.c
@@ -10,7 +10,6 @@
#include <stdio.h>
#include "internal/cryptlib.h"
#include <openssl/bn.h>
-#include <openssl/rand.h>
#include "rsa_locl.h"
/*
diff --git a/crypto/rsa/rsa_ossl.c b/crypto/rsa/rsa_ossl.c
index d8af92dc6c..782606645b 100644
--- a/crypto/rsa/rsa_ossl.c
+++ b/crypto/rsa/rsa_ossl.c
@@ -9,7 +9,6 @@
#include "internal/cryptlib.h"
#include "internal/bn_int.h"
-#include <openssl/rand.h>
#include "rsa_locl.h"
#ifndef RSA_NULL
diff --git a/crypto/rsa/rsa_x931.c b/crypto/rsa/rsa_x931.c
index 428a1e7253..b9301f3725 100644
--- a/crypto/rsa/rsa_x931.c
+++ b/crypto/rsa/rsa_x931.c
@@ -11,7 +11,6 @@
#include "internal/cryptlib.h"
#include <openssl/bn.h>
#include <openssl/rsa.h>
-#include <openssl/rand.h>
#include <openssl/objects.h>
int RSA_padding_add_X931(unsigned char *to, int tlen,