diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-06-05 00:35:42 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-18 16:30:24 -0400 |
commit | 823146d65fe145eb6024d84ab50ed63ba9f8705c (patch) | |
tree | 252c617ab71cd4cdfc2ceca7eb52e55c4439d24d | |
parent | 93b8981d894fbac19e0478f87ede72f1a1b813ce (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)
31 files changed, 0 insertions, 31 deletions
diff --git a/apps/openssl.c b/apps/openssl.c index f06927778a..78ed023fd4 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -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> 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 diff --git a/crypto/cms/cms_env.c b/crypto/cms/cms_env.c index b143a91f24..8d45943530 100644 --- a/crypto/cms/cms_env.c +++ b/crypto/cms/cms_env.c @@ -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" diff --git a/crypto/cms/cms_kari.c b/crypto/cms/cms_kari.c index 8f44c815c9..3bc46febf6 100644 --- a/crypto/cms/cms_kari.c +++ b/crypto/cms/cms_kari.c @@ -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" diff --git a/crypto/dh/dh_key.c b/crypto/dh/dh_key.c index 1644003bd9..21dada35ad 100644 --- a/crypto/dh/dh_key.c +++ b/crypto/dh/dh_key.c @@ -9,7 +9,6 @@ #include <stdio.h> #include "internal/cryptlib.h" -#include <openssl/rand.h> #include "dh_locl.h" #include "internal/bn_int.h" diff --git a/crypto/dsa/dsa_depr.c b/crypto/dsa/dsa_depr.c index b852fc70f6..f51aea7497 100644 --- a/crypto/dsa/dsa_depr.c +++ b/crypto/dsa/dsa_depr.c @@ -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, diff --git a/crypto/dsa/dsa_key.c b/crypto/dsa/dsa_key.c index aa5d42ce17..31442b1cff 100644 --- a/crypto/dsa/dsa_key.c +++ b/crypto/dsa/dsa_key.c @@ -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); diff --git a/crypto/dsa/dsa_ossl.c b/crypto/dsa/dsa_ossl.c index 9c97ef949c..3c734ec26e 100644 --- a/crypto/dsa/dsa_ossl.c +++ b/crypto/dsa/dsa_ossl.c @@ -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); diff --git a/crypto/dsa/dsa_sign.c b/crypto/dsa/dsa_sign.c index 56927945fe..2e29d40088 100644 --- a/crypto/dsa/dsa_sign.c +++ b/crypto/dsa/dsa_sign.c @@ -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) diff --git a/crypto/evp/p_dec.c b/crypto/evp/p_dec.c index 6171bb977e..6bec4062c8 100644 --- a/crypto/evp/p_dec.c +++ b/crypto/evp/p_dec.c @@ -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> diff --git a/crypto/evp/p_enc.c b/crypto/evp/p_enc.c index 645f973cea..3277fbb006 100644 --- a/crypto/evp/p_enc.c +++ b/crypto/evp/p_enc.c @@ -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> diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c index 35f4b5803a..195d87c8be 100644 --- a/crypto/ocsp/ocsp_cl.c +++ b/crypto/ocsp/ocsp_cl.c @@ -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> diff --git a/crypto/ocsp/ocsp_lib.c b/crypto/ocsp/ocsp_lib.c index ff04e466d0..5ff2f318b3 100644 --- a/crypto/ocsp/ocsp_lib.c +++ b/crypto/ocsp/ocsp_lib.c @@ -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> diff --git a/crypto/ocsp/ocsp_srv.c b/crypto/ocsp/ocsp_srv.c index e3ef17199f..443161cd25 100644 --- a/crypto/ocsp/ocsp_srv.c +++ b/crypto/ocsp/ocsp_srv.c @@ -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> diff --git a/crypto/pem/pem_oth.c b/crypto/pem/pem_oth.c index 036c8a6fdb..cc7a8dbec4 100644 --- a/crypto/pem/pem_oth.c +++ b/crypto/pem/pem_oth.c @@ -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> diff --git a/crypto/pem/pem_pk8.c b/crypto/pem/pem_pk8.c index 1f6b640dbe..993c595a7b 100644 --- a/crypto/pem/pem_pk8.c +++ b/crypto/pem/pem_pk8.c @@ -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> diff --git a/crypto/pem/pem_pkey.c b/crypto/pem/pem_pkey.c index f3a45e4aeb..6308622707 100644 --- a/crypto/pem/pem_pkey.c +++ b/crypto/pem/pem_pkey.c @@ -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> diff --git a/crypto/pem/pem_sign.c b/crypto/pem/pem_sign.c index 0d8b62a6e2..12ad97450a 100644 --- a/crypto/pem/pem_sign.c +++ b/crypto/pem/pem_sign.c @@ -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> diff --git a/crypto/pkcs7/pk7_dgst.c b/crypto/pkcs7/pk7_dgst.c index b0a6bd5e77..965fb37eab 100644 --- a/crypto/pkcs7/pk7_dgst.c +++ b/crypto/pkcs7/pk7_dgst.c @@ -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> diff --git a/crypto/pkcs7/pk7_enc.c b/crypto/pkcs7/pk7_enc.c index 6889a0487d..3c59f9c8c5 100644 --- a/crypto/pkcs7/pk7_enc.c +++ b/crypto/pkcs7/pk7_enc.c @@ -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> diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index d44b3adae6..97474cf519 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -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> 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, diff --git a/ssl/record/rec_layer_d1.c b/ssl/record/rec_layer_d1.c index 9e043f5df0..6699d2a3f1 100644 --- a/ssl/record/rec_layer_d1.c +++ b/ssl/record/rec_layer_d1.c @@ -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) diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index d75483af6d..946dee0841 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -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> diff --git a/ssl/statem/statem_lib.c b/ssl/statem/statem_lib.c index eb3e591080..85523da1c2 100644 --- a/ssl/statem/statem_lib.c +++ b/ssl/statem/statem_lib.c @@ -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> diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 9250283e60..3e5e9fbda6 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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" |