diff options
author | Richard Levitte <levitte@openssl.org> | 2015-05-14 16:56:48 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-05-14 17:21:40 +0200 |
commit | b39fc560612984e65ec30d7f37487303bf514fb3 (patch) | |
tree | 10f33004ee5a296367ea155344287b9d29c05616 /crypto/asn1 | |
parent | 7a05eaac5e15e327b7c51258bf892c8ae5b1d956 (diff) |
Identify and move common internal libcrypto header files
There are header files in crypto/ that are used by a number of crypto/
submodules. Move those to crypto/include/internal and adapt the
affected source code and Makefiles.
The header files that got moved are:
crypto/cryptolib.h
crypto/md32_common.h
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/asn1')
62 files changed, 62 insertions, 62 deletions
diff --git a/crypto/asn1/a_bitstr.c b/crypto/asn1/a_bitstr.c index 60b6e6d403..5f7ae6a373 100644 --- a/crypto/asn1/a_bitstr.c +++ b/crypto/asn1/a_bitstr.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include "asn1_locl.h" diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index 13e47fde08..2e61029a1d 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -58,7 +58,7 @@ #include <stdio.h> #include <limits.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/buffer.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/a_digest.c b/crypto/asn1/a_digest.c index 8fac13b89e..57adcccd49 100644 --- a/crypto/asn1/a_digest.c +++ b/crypto/asn1/a_digest.c @@ -59,7 +59,7 @@ #include <stdio.h> #include <time.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #ifndef NO_SYS_TYPES_H # include <sys/types.h> diff --git a/crypto/asn1/a_dup.c b/crypto/asn1/a_dup.c index 349ab56213..60d3544365 100644 --- a/crypto/asn1/a_dup.c +++ b/crypto/asn1/a_dup.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #ifndef NO_OLD_ASN1 diff --git a/crypto/asn1/a_enum.c b/crypto/asn1/a_enum.c index aed3de5fee..81c0f3a14c 100644 --- a/crypto/asn1/a_enum.c +++ b/crypto/asn1/a_enum.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include <openssl/bn.h> diff --git a/crypto/asn1/a_gentm.c b/crypto/asn1/a_gentm.c index 324496e30c..209880ced8 100644 --- a/crypto/asn1/a_gentm.c +++ b/crypto/asn1/a_gentm.c @@ -62,7 +62,7 @@ #include <stdio.h> #include <time.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include "asn1_locl.h" diff --git a/crypto/asn1/a_i2d_fp.c b/crypto/asn1/a_i2d_fp.c index e0f236e640..353c2c5605 100644 --- a/crypto/asn1/a_i2d_fp.c +++ b/crypto/asn1/a_i2d_fp.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/buffer.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/a_int.c b/crypto/asn1/a_int.c index 228297803b..56a72fb759 100644 --- a/crypto/asn1/a_int.c +++ b/crypto/asn1/a_int.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include <openssl/bn.h> #include "asn1_locl.h" diff --git a/crypto/asn1/a_mbstr.c b/crypto/asn1/a_mbstr.c index ddb2798069..241eb60bcc 100644 --- a/crypto/asn1/a_mbstr.c +++ b/crypto/asn1/a_mbstr.c @@ -59,7 +59,7 @@ #include <stdio.h> #include <ctype.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> static int traverse_string(const unsigned char *p, int len, int inform, diff --git a/crypto/asn1/a_object.c b/crypto/asn1/a_object.c index 7cedce82e7..ab37fa315f 100644 --- a/crypto/asn1/a_object.c +++ b/crypto/asn1/a_object.c @@ -58,7 +58,7 @@ #include <stdio.h> #include <limits.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/buffer.h> #include <openssl/asn1.h> #include <openssl/objects.h> diff --git a/crypto/asn1/a_octet.c b/crypto/asn1/a_octet.c index f6fd62224a..430f00faee 100644 --- a/crypto/asn1/a_octet.c +++ b/crypto/asn1/a_octet.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *x) diff --git a/crypto/asn1/a_print.c b/crypto/asn1/a_print.c index 0e129cb142..05d12a5927 100644 --- a/crypto/asn1/a_print.c +++ b/crypto/asn1/a_print.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> int ASN1_PRINTABLE_type(const unsigned char *s, int len) diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c index e189958174..ab1959e812 100644 --- a/crypto/asn1/a_sign.c +++ b/crypto/asn1/a_sign.c @@ -112,7 +112,7 @@ #include <stdio.h> #include <time.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #ifndef NO_SYS_TYPES_H # include <sys/types.h> diff --git a/crypto/asn1/a_strex.c b/crypto/asn1/a_strex.c index 243e29a8fe..2f233a2608 100644 --- a/crypto/asn1/a_strex.c +++ b/crypto/asn1/a_strex.c @@ -59,7 +59,7 @@ #include <stdio.h> #include <string.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/crypto.h> #include <openssl/x509.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/a_strnid.c b/crypto/asn1/a_strnid.c index 92d4134fc5..7bfc76816f 100644 --- a/crypto/asn1/a_strnid.c +++ b/crypto/asn1/a_strnid.c @@ -59,7 +59,7 @@ #include <stdio.h> #include <ctype.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include <openssl/objects.h> diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c index 6114c52dc7..c2b556523b 100644 --- a/crypto/asn1/a_time.c +++ b/crypto/asn1/a_time.c @@ -63,7 +63,7 @@ #include <stdio.h> #include <time.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1t.h> #include "asn1_locl.h" diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c index 283baaaeae..474aecadc6 100644 --- a/crypto/asn1/a_type.c +++ b/crypto/asn1/a_type.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1t.h> #include <openssl/objects.h> #include "asn1_locl.h" diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c index 5fd1a6a3c4..9144922ab4 100644 --- a/crypto/asn1/a_utctm.c +++ b/crypto/asn1/a_utctm.c @@ -58,7 +58,7 @@ #include <stdio.h> #include <time.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include "asn1_locl.h" diff --git a/crypto/asn1/a_utf8.c b/crypto/asn1/a_utf8.c index 23dc2e828a..8697c66efd 100644 --- a/crypto/asn1/a_utf8.c +++ b/crypto/asn1/a_utf8.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> /* UTF8 utilities */ diff --git a/crypto/asn1/a_verify.c b/crypto/asn1/a_verify.c index 5b908f14ce..540b71c4d4 100644 --- a/crypto/asn1/a_verify.c +++ b/crypto/asn1/a_verify.c @@ -59,7 +59,7 @@ #include <stdio.h> #include <time.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #ifndef NO_SYS_TYPES_H # include <sys/types.h> diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index ce4c0dcaf9..1a615431cc 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1t.h> #include <openssl/x509.h> #ifndef OPENSSL_NO_ENGINE diff --git a/crypto/asn1/asn1_gen.c b/crypto/asn1/asn1_gen.c index 3ff1db8e0b..5f01b8dac1 100644 --- a/crypto/asn1/asn1_gen.c +++ b/crypto/asn1/asn1_gen.c @@ -57,7 +57,7 @@ * */ -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include <openssl/x509v3.h> diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c index bda6ab09b4..b611f35f22 100644 --- a/crypto/asn1/asn1_lib.c +++ b/crypto/asn1/asn1_lib.c @@ -58,7 +58,7 @@ #include <stdio.h> #include <limits.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> static int asn1_get_length(const unsigned char **pp, int *inf, long *rl, diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index 574e8de867..9a370cd4bc 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/buffer.h> #include <openssl/objects.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/asn_mime.c b/crypto/asn1/asn_mime.c index 9ce4013049..2a227be5c5 100644 --- a/crypto/asn1/asn_mime.c +++ b/crypto/asn1/asn_mime.c @@ -55,7 +55,7 @@ #include <stdio.h> #include <ctype.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/rand.h> #include <openssl/x509.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/asn_moid.c b/crypto/asn1/asn_moid.c index 9459bb249e..bb334d015e 100644 --- a/crypto/asn1/asn_moid.c +++ b/crypto/asn1/asn_moid.c @@ -60,7 +60,7 @@ #include <stdio.h> #include <ctype.h> #include <openssl/crypto.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/conf.h> #include <openssl/dso.h> #include <openssl/x509.h> diff --git a/crypto/asn1/asn_mstbl.c b/crypto/asn1/asn_mstbl.c index a2e80b1fd6..b53715783a 100644 --- a/crypto/asn1/asn_mstbl.c +++ b/crypto/asn1/asn_mstbl.c @@ -56,7 +56,7 @@ #include <stdio.h> #include <ctype.h> #include <openssl/crypto.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/conf.h> #include <openssl/x509v3.h> diff --git a/crypto/asn1/asn_pack.c b/crypto/asn1/asn_pack.c index b80016ba82..d8655badb8 100644 --- a/crypto/asn1/asn_pack.c +++ b/crypto/asn1/asn_pack.c @@ -58,7 +58,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> /* ASN1 packing and unpacking functions */ diff --git a/crypto/asn1/d2i_pr.c b/crypto/asn1/d2i_pr.c index 793532f493..b92af8b5f4 100644 --- a/crypto/asn1/d2i_pr.c +++ b/crypto/asn1/d2i_pr.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/bn.h> #include <openssl/evp.h> #include <openssl/objects.h> diff --git a/crypto/asn1/d2i_pu.c b/crypto/asn1/d2i_pu.c index 189cfddf1e..11176f0e16 100644 --- a/crypto/asn1/d2i_pu.c +++ b/crypto/asn1/d2i_pu.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/bn.h> #include <openssl/evp.h> #include <openssl/objects.h> diff --git a/crypto/asn1/evp_asn1.c b/crypto/asn1/evp_asn1.c index bf131a44f0..4c3f3e0ffe 100644 --- a/crypto/asn1/evp_asn1.c +++ b/crypto/asn1/evp_asn1.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1.h> #include <openssl/asn1t.h> diff --git a/crypto/asn1/f_enum.c b/crypto/asn1/f_enum.c index eabfd3796e..4b85be933c 100644 --- a/crypto/asn1/f_enum.c +++ b/crypto/asn1/f_enum.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/buffer.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/f_int.c b/crypto/asn1/f_int.c index 880c284024..61029fa586 100644 --- a/crypto/asn1/f_int.c +++ b/crypto/asn1/f_int.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/buffer.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/f_string.c b/crypto/asn1/f_string.c index c82f2a192d..cecbb4a0b2 100644 --- a/crypto/asn1/f_string.c +++ b/crypto/asn1/f_string.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/buffer.h> #include <openssl/asn1.h> diff --git a/crypto/asn1/i2d_pr.c b/crypto/asn1/i2d_pr.c index 2a6aa19c07..54a3d7b4bd 100644 --- a/crypto/asn1/i2d_pr.c +++ b/crypto/asn1/i2d_pr.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/evp.h> #include <openssl/x509.h> #include "internal/asn1_int.h" diff --git a/crypto/asn1/i2d_pu.c b/crypto/asn1/i2d_pu.c index b8ed355411..e1f702acd8 100644 --- a/crypto/asn1/i2d_pu.c +++ b/crypto/asn1/i2d_pu.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/bn.h> #include <openssl/evp.h> #include <openssl/objects.h> diff --git a/crypto/asn1/n_pkey.c b/crypto/asn1/n_pkey.c index 0d8480b8dd..1b8c4c0a8d 100644 --- a/crypto/asn1/n_pkey.c +++ b/crypto/asn1/n_pkey.c @@ -57,7 +57,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #ifndef OPENSSL_NO_RSA # include <openssl/rsa.h> # include <openssl/objects.h> diff --git a/crypto/asn1/p5_pbe.c b/crypto/asn1/p5_pbe.c index ec738ded18..cc91fad53b 100644 --- a/crypto/asn1/p5_pbe.c +++ b/crypto/asn1/p5_pbe.c @@ -58,7 +58,7 @@ */ #include <stdio.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" #include <openssl/asn1t.h> #include <openssl/x509.h> #include <openssl/rand.h> diff --git a/crypto/asn1/p5_pbev2.c b/crypto/asn1/p5_pbev2.c index c7a12402b2..23ed232dd3 100644 --- a/crypto/asn1/p5_pbev2.c +++ b/ |