From 0b7497310d08c8a1a0c65a3e3fb9a116ee2ba211 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 4 Dec 2002 23:08:08 +0000 Subject: [PATCH] Include crypto.h to pull in definition of OPENSSL_cleanse in various places. --- crypto/des/read2pwd.c | 1 + crypto/des/str2key.c | 1 + crypto/md2/md2_dgst.c | 1 + crypto/md4/md4_one.c | 1 + crypto/md5/md5_one.c | 1 + crypto/ripemd/rmd_one.c | 1 + crypto/sha/sha1_one.c | 1 + crypto/sha/sha_one.c | 1 + 8 files changed, 8 insertions(+) diff --git a/crypto/des/read2pwd.c b/crypto/des/read2pwd.c index 25d3c63131..115132deec 100644 --- a/crypto/des/read2pwd.c +++ b/crypto/des/read2pwd.c @@ -57,6 +57,7 @@ */ #include "des_locl.h" +#include int des_read_password(des_cblock *key, const char *prompt, int verify) { diff --git a/crypto/des/str2key.c b/crypto/des/str2key.c index fc5b96ee87..10e1dc174d 100644 --- a/crypto/des/str2key.c +++ b/crypto/des/str2key.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include #include "des_locl.h" void des_string_to_key(const char *str, des_cblock *key) diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c index 458a3fad7f..fc25280469 100644 --- a/crypto/md2/md2_dgst.c +++ b/crypto/md2/md2_dgst.c @@ -61,6 +61,7 @@ #include #include #include +#include const char *MD2_version="MD2" OPENSSL_VERSION_PTEXT; diff --git a/crypto/md4/md4_one.c b/crypto/md4/md4_one.c index 53efd430ec..00565507e4 100644 --- a/crypto/md4/md4_one.c +++ b/crypto/md4/md4_one.c @@ -59,6 +59,7 @@ #include #include #include +#include #ifdef CHARSET_EBCDIC #include diff --git a/crypto/md5/md5_one.c b/crypto/md5/md5_one.c index c67eb795ca..c5dd2d81db 100644 --- a/crypto/md5/md5_one.c +++ b/crypto/md5/md5_one.c @@ -59,6 +59,7 @@ #include #include #include +#include #ifdef CHARSET_EBCDIC #include diff --git a/crypto/ripemd/rmd_one.c b/crypto/ripemd/rmd_one.c index a783282282..f8b580c33a 100644 --- a/crypto/ripemd/rmd_one.c +++ b/crypto/ripemd/rmd_one.c @@ -59,6 +59,7 @@ #include #include #include +#include unsigned char *RIPEMD160(const unsigned char *d, unsigned long n, unsigned char *md) diff --git a/crypto/sha/sha1_one.c b/crypto/sha/sha1_one.c index e32847ef6c..acf3e92ff2 100644 --- a/crypto/sha/sha1_one.c +++ b/crypto/sha/sha1_one.c @@ -59,6 +59,7 @@ #include #include #include +#include #ifndef NO_SHA1 unsigned char *SHA1(const unsigned char *d, unsigned long n, unsigned char *md) diff --git a/crypto/sha/sha_one.c b/crypto/sha/sha_one.c index 65e15befb7..ece37146c2 100644 --- a/crypto/sha/sha_one.c +++ b/crypto/sha/sha_one.c @@ -59,6 +59,7 @@ #include #include #include +#include #ifndef NO_SHA0 unsigned char *SHA(const unsigned char *d, unsigned long n, unsigned char *md) -- 2.25.1