Useless header include of openssl/rand.h
authorFdaSilvaYY <fdasilvayy@gmail.com>
Sat, 4 Jun 2016 22:35:42 +0000 (00:35 +0200)
committerRich Salz <rsalz@openssl.org>
Sat, 18 Jun 2016 20:30:24 +0000 (16:30 -0400)
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1168)

31 files changed:
apps/openssl.c
crypto/bn/bn_depr.c
crypto/bn/bn_prime.c
crypto/cms/cms_env.c
crypto/cms/cms_kari.c
crypto/dh/dh_key.c
crypto/dsa/dsa_depr.c
crypto/dsa/dsa_key.c
crypto/dsa/dsa_ossl.c
crypto/dsa/dsa_sign.c
crypto/evp/p_dec.c
crypto/evp/p_enc.c
crypto/ocsp/ocsp_cl.c
crypto/ocsp/ocsp_lib.c
crypto/ocsp/ocsp_srv.c
crypto/pem/pem_oth.c
crypto/pem/pem_pk8.c
crypto/pem/pem_pkey.c
crypto/pem/pem_sign.c
crypto/pkcs7/pk7_dgst.c
crypto/pkcs7/pk7_enc.c
crypto/pkcs7/pk7_mime.c
crypto/rsa/rsa_lib.c
crypto/rsa/rsa_none.c
crypto/rsa/rsa_null.c
crypto/rsa/rsa_ossl.c
crypto/rsa/rsa_x931.c
ssl/record/rec_layer_d1.c
ssl/statem/statem_dtls.c
ssl/statem/statem_lib.c
ssl/t1_lib.c

index f06927778ae00c14f784247970aed6717248eb7c..78ed023fd43ad6753518d90899256b728f691b47 100644 (file)
@@ -12,7 +12,6 @@
 #include <stdlib.h>
 #include <openssl/bio.h>
 #include <openssl/crypto.h>
-#include <openssl/rand.h>
 #include <openssl/lhash.h>
 #include <openssl/conf.h>
 #include <openssl/x509.h>
index de54d5e8cb38cd1b7afe958d5cc3beb7e072effe..7d89214b1c16a1eddd9403e38d3ab989e53184ff 100644 (file)
@@ -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,
index 81c2391ef898895d5da886bf6cc888b243670815..df4f058d8cabbe315988b1f0af1f145c06cb1df0 100644 (file)
@@ -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
index b143a91f243167b437077bd31bebeae0ccf86ccf..8d4594353084882dd6f0f0c86c66ff10fd1ec1b7 100644 (file)
@@ -13,7 +13,6 @@
 #include <openssl/x509v3.h>
 #include <openssl/err.h>
 #include <openssl/cms.h>
-#include <openssl/rand.h>
 #include <openssl/aes.h>
 #include "cms_lcl.h"
 #include "internal/asn1_int.h"
index 8f44c815c961bec36345ca281976dfe516003585..3bc46febf6403cf54f6512c5ce807ac239d76d30 100644 (file)
@@ -13,7 +13,6 @@
 #include <openssl/x509v3.h>
 #include <openssl/err.h>
 #include <openssl/cms.h>
-#include <openssl/rand.h>
 #include <openssl/aes.h>
 #include "cms_lcl.h"
 #include "internal/asn1_int.h"
index 1644003bd95b577c6e5801d91c95798ebc9de3b7..21dada35addcf000400d4e5e5dc5f797528ac0c6 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <stdio.h>
 #include "internal/cryptlib.h"
-#include <openssl/rand.h>
 #include "dh_locl.h"
 #include "internal/bn_int.h"
 
index b852fc70f6c3054b81bc5668e644a0b20d6d7cb5..f51aea74978a11c7c4aafa2f9439fb61f5493711 100644 (file)
@@ -30,7 +30,6 @@ NON_EMPTY_TRANSLATION_UNIT
 # include <openssl/evp.h>
 # include <openssl/bn.h>
 # include <openssl/dsa.h>
-# include <openssl/rand.h>
 # include <openssl/sha.h>
 
 DSA *DSA_generate_parameters(int bits,
index aa5d42ce174ff7d7dd1cc451aeb1a6ceee76a8a3..31442b1cff17ac439448e214489d2d6aa28afa36 100644 (file)
@@ -12,7 +12,6 @@
 #include "internal/cryptlib.h"
 #include <openssl/bn.h>
 #include "dsa_locl.h"
-#include <openssl/rand.h>
 
 static int dsa_builtin_keygen(DSA *dsa);
 
index 9c97ef949c0c5f02060b03bcd5d72b5313219cf6..3c734ec26ed434a4745865d0eb43aab69bd64d70 100644 (file)
@@ -14,7 +14,6 @@
 #include <openssl/bn.h>
 #include <openssl/sha.h>
 #include "dsa_locl.h"
-#include <openssl/rand.h>
 #include <openssl/asn1.h>
 
 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
index 56927945fe5fa0acdaeec21b02c54dc6af877579..2e29d4008806cd1d8b8ec5ba92a4ab9656b35ffd 100644 (file)
@@ -11,7 +11,6 @@
 
 #include "internal/cryptlib.h"
 #include "dsa_locl.h"
-#include <openssl/rand.h>
 #include <openssl/bn.h>
 
 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
index 6171bb977e4c826f0c6c0960a5423b7edc8664dd..6bec4062c8fffe2dffc34a0efc365f9fed9dc853 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <stdio.h>
 #include "internal/cryptlib.h"
-#include <openssl/rand.h>
 #include <openssl/rsa.h>
 #include <openssl/evp.h>
 #include <openssl/objects.h>
index 645f973ceacf5407474a8810fef99ef534f12986..3277fbb006a443f2b9be11736ac37f5ba664e250 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <stdio.h>
 #include "internal/cryptlib.h"
-#include <openssl/rand.h>
 #include <openssl/rsa.h>
 #include <openssl/evp.h>
 #include <openssl/objects.h>
index 35f4b5803aadc9250197af8f5f2eb14844f7ebc2..195d87c8bedf7472d152f550dc60a02a6ec03255 100644 (file)
@@ -11,7 +11,6 @@
 #include <time.h>
 #include "internal/cryptlib.h"
 #include <openssl/objects.h>
-#include <openssl/rand.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
 #include <openssl/x509v3.h>
index ff04e466d05c6ebf60b9a6e1c3a7ce90ed5f2a81..5ff2f318b3b4052dbece9b2dba8639af2c57255c 100644 (file)
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include "internal/cryptlib.h"
 #include <openssl/objects.h>
-#include <openssl/rand.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
 #include <openssl/x509v3.h>
index e3ef17199f88df71ce99d3c8d5c98f1bbc826c67..443161cd257e4ab6a3ca918903103c623bda2e68 100644 (file)
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include "internal/cryptlib.h"
 #include <openssl/objects.h>
-#include <openssl/rand.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
 #include <openssl/x509v3.h>
index 036c8a6fdb1da19a4fb418217556f106777f8ae4..cc7a8dbec49d09a5fc671f8a54361b235023a32d 100644 (file)
@@ -12,7 +12,6 @@
 #include <openssl/buffer.h>
 #include <openssl/objects.h>
 #include <openssl/evp.h>
-#include <openssl/rand.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
 
index 1f6b640dbe7954dfdb7f481f0b7aa8126e1d62d9..993c595a7b7b2020a6e11d647dab2c16b29d971d 100644 (file)
@@ -12,7 +12,6 @@
 #include <openssl/buffer.h>
 #include <openssl/objects.h>
 #include <openssl/evp.h>
-#include <openssl/rand.h>
 #include <openssl/x509.h>
 #include <openssl/pkcs12.h>
 #include <openssl/pem.h>
index f3a45e4aeb32dcd75814020a81088a1ee25cb0d0..63086227075ede42a8600b20552817c41ce484e1 100644 (file)
@@ -12,7 +12,6 @@
 #include <openssl/buffer.h>
 #include <openssl/objects.h>
 #include <openssl/evp.h>
-#include <openssl/rand.h>
 #include <openssl/x509.h>
 #include <openssl/pkcs12.h>
 #include <openssl/pem.h>
index 0d8b62a6e26fc111812009e5ac307360bdd1a1fc..12ad97450a3f88c3c908db546cf256e2c09520b7 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <stdio.h>
 #include "internal/cryptlib.h"
-#include <openssl/rand.h>
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 #include <openssl/x509.h>
index b0a6bd5e77b4be48b13bcbe62ca13b035111d710..965fb37eab54acf1e1ffbb686b2cc96cfddad128 100644 (file)
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include "internal/cryptlib.h"
 #include <openssl/evp.h>
-#include <openssl/rand.h>
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 #include <openssl/pkcs7.h>
index 6889a0487de9313d8f030bda6e8eacf49b6ae739..3c59f9c8c571efe4d2260c455a0206fa59ab9ef4 100644 (file)
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include "internal/cryptlib.h"
 #include <openssl/evp.h>
-#include <openssl/rand.h>
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 #include <openssl/pkcs7.h>
index d44b3adae670a09ab5ceb033ab6fb1ec46d60007..97474cf5194a7464cc9c11d9b54466420b57c2c5 100644 (file)
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include <ctype.h>
 #include "internal/cryptlib.h"
-#include <openssl/rand.h>
 #include <openssl/x509.h>
 #include <openssl/asn1.h>
 
index 87a326184ca267c154d989e937f6844ae6e4e075..9ba86d856ac83fcd215d552e68264d6b32cbef13 100644 (file)
@@ -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"
 
index 006d3bd617aed2153571e4851bd384c18661e8ed..b78756d186af5b72dad629595dc7f9f3eefee181 100644 (file)
@@ -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)
index 7f15955aa45ad9be3d595ee0b7d15b651993c5fc..d33949412022d959bf8340fe01ce6ebac69d07ef 100644 (file)
@@ -10,7 +10,6 @@
 #include <stdio.h>
 #include "internal/cryptlib.h"
 #include <openssl/bn.h>
-#include <openssl/rand.h>
 #include "rsa_locl.h"
 
 /*
index d8af92dc6ce1e5ffb97ee80b6c0415d394f515dc..782606645bd1b4b4a504e5dbc58ffeb8da85f274 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "internal/cryptlib.h"
 #include "internal/bn_int.h"
-#include <openssl/rand.h>
 #include "rsa_locl.h"
 
 #ifndef RSA_NULL
index 428a1e725300f8501b66c8d05db4fa83d012abfe..b9301f372504ce9fc52c0ffd9aa615cf7727db29 100644 (file)
@@ -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,
index 9e043f5df0b51834a579e0bd134fd29e9f1522b9..6699d2a3f1c44937efd5b35cf9e889ee19464287 100644 (file)
@@ -13,7 +13,6 @@
 #include "../ssl_locl.h"
 #include <openssl/evp.h>
 #include <openssl/buffer.h>
-#include <openssl/rand.h>
 #include "record_locl.h"
 
 int DTLS_RECORD_LAYER_new(RECORD_LAYER *rl)
index d75483af6d40ad4c6ed9137eba8a7382a3b0ef0a..946dee0841b1d445d086736d16820a5939cddc34 100644 (file)
@@ -13,7 +13,6 @@
 #include "../ssl_locl.h"
 #include "statem_locl.h"
 #include <openssl/buffer.h>
-#include <openssl/rand.h>
 #include <openssl/objects.h>
 #include <openssl/evp.h>
 #include <openssl/x509.h>
index eb3e591080088cd4089d0c799ed6584cc0914daa..85523da1c2f05b1134ff519a3995f5c6bc7d3b4f 100644 (file)
@@ -19,7 +19,6 @@
 #include "../ssl_locl.h"
 #include "statem_locl.h"
 #include <openssl/buffer.h>
-#include <openssl/rand.h>
 #include <openssl/objects.h>
 #include <openssl/evp.h>
 #include <openssl/x509.h>
index 9250283e607a9b04c55ffb2597d470f5ce2e3d7a..3e5e9fbda6c92ef592148e0507f7aebd49544133 100644 (file)
@@ -15,7 +15,6 @@
 #include <openssl/ocsp.h>
 #include <openssl/conf.h>
 #include <openssl/x509v3.h>
-#include <openssl/rand.h>
 #include <openssl/dh.h>
 #include <openssl/bn.h>
 #include "ssl_locl.h"