Skip to content

Commit

Permalink
Useless header include of openssl/rand.h
Browse files Browse the repository at this point in the history
Reviewed-by: Kurt Roeckx <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from openssl#1168)
  • Loading branch information
FdaSilvaYY authored and Rich Salz committed Jun 18, 2016
1 parent 93b8981 commit 823146d
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 31 deletions.
1 change: 0 additions & 1 deletion apps/openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/bn/bn_depr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion crypto/bn/bn_prime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion crypto/cms/cms_env.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion crypto/cms/cms_kari.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion crypto/dh/dh_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <stdio.h>
#include "internal/cryptlib.h"
#include <openssl/rand.h>
#include "dh_locl.h"
#include "internal/bn_int.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/dsa/dsa_depr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion crypto/dsa/dsa_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion crypto/dsa/dsa_ossl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion crypto/dsa/dsa_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion crypto/evp/p_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/evp/p_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/ocsp/ocsp_cl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/ocsp/ocsp_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/ocsp/ocsp_srv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/pem/pem_oth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 0 additions & 1 deletion crypto/pem/pem_pk8.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/pem/pem_pkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/pem/pem_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/pkcs7/pk7_dgst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 0 additions & 1 deletion crypto/pkcs7/pk7_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion crypto/pkcs7/pk7_mime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 0 additions & 1 deletion crypto/rsa/rsa_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 0 additions & 1 deletion crypto/rsa/rsa_none.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion crypto/rsa/rsa_null.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <stdio.h>
#include "internal/cryptlib.h"
#include <openssl/bn.h>
#include <openssl/rand.h>
#include "rsa_locl.h"

/*
Expand Down
1 change: 0 additions & 1 deletion crypto/rsa/rsa_ossl.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "internal/cryptlib.h"
#include "internal/bn_int.h"
#include <openssl/rand.h>
#include "rsa_locl.h"

#ifndef RSA_NULL
Expand Down
1 change: 0 additions & 1 deletion crypto/rsa/rsa_x931.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion ssl/record/rec_layer_d1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion ssl/statem/statem_dtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion ssl/statem/statem_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion ssl/t1_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 823146d

Please sign in to comment.