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/sha | |
parent | 7a05eaac5e15e327b7c51258bf892c8ae5b1d956 (diff) | |
download | openssl-b39fc560612984e65ec30d7f37487303bf514fb3.zip openssl-b39fc560612984e65ec30d7f37487303bf514fb3.tar.gz openssl-b39fc560612984e65ec30d7f37487303bf514fb3.tar.bz2 |
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/sha')
-rw-r--r-- | crypto/sha/sha256.c | 2 | ||||
-rw-r--r-- | crypto/sha/sha512.c | 2 | ||||
-rw-r--r-- | crypto/sha/sha_locl.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/sha/sha256.c b/crypto/sha/sha256.c index eec0cad..c112b04 100644 --- a/crypto/sha/sha256.c +++ b/crypto/sha/sha256.c @@ -127,7 +127,7 @@ static #endif void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num); -#include "md32_common.h" +#include "internal/md32_common.h" #ifndef SHA256_ASM static const SHA_LONG K256[64] = { diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index c58cc1b..ebae411 100644 --- a/crypto/sha/sha512.c +++ b/crypto/sha/sha512.c @@ -47,7 +47,7 @@ #include <openssl/sha.h> #include <openssl/opensslv.h> -#include "cryptlib.h" +#include "internal/cryptlib.h" const char SHA512_version[] = "SHA-512" OPENSSL_VERSION_PTEXT; diff --git a/crypto/sha/sha_locl.h b/crypto/sha/sha_locl.h index af62d9e..d3c6c37 100644 --- a/crypto/sha/sha_locl.h +++ b/crypto/sha/sha_locl.h @@ -91,7 +91,7 @@ static void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num); void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num); #endif -#include "md32_common.h" +#include "internal/md32_common.h" #define INIT_DATA_h0 0x67452301UL #define INIT_DATA_h1 0xefcdab89UL |