aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-12-04 23:08:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-12-04 23:08:08 +0000
commit0b7497310d08c8a1a0c65a3e3fb9a116ee2ba211 (patch)
tree450bc0d7cf1c168ab18801717dc00a14b4da2644
parent98c3eccc83653516a08d9e0c7c131ae154039ff8 (diff)
downloadopenssl-0b7497310d08c8a1a0c65a3e3fb9a116ee2ba211.tar.gz
Include crypto.h to pull in definition of OPENSSL_cleanse in various
places.
-rw-r--r--crypto/des/read2pwd.c1
-rw-r--r--crypto/des/str2key.c1
-rw-r--r--crypto/md2/md2_dgst.c1
-rw-r--r--crypto/md4/md4_one.c1
-rw-r--r--crypto/md5/md5_one.c1
-rw-r--r--crypto/ripemd/rmd_one.c1
-rw-r--r--crypto/sha/sha1_one.c1
-rw-r--r--crypto/sha/sha_one.c1
8 files changed, 8 insertions, 0 deletions
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 <openssl/crypto.h>
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 <openssl/crypto.h>
#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 <string.h>
#include <openssl/md2.h>
#include <openssl/opensslv.h>
+#include <openssl/crypto.h>
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 <stdio.h>
#include <string.h>
#include <openssl/md4.h>
+#include <openssl/crypto.h>
#ifdef CHARSET_EBCDIC
#include <openssl/ebcdic.h>
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 <stdio.h>
#include <string.h>
#include <openssl/md5.h>
+#include <openssl/crypto.h>
#ifdef CHARSET_EBCDIC
#include <openssl/ebcdic.h>
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 <stdio.h>
#include <string.h>
#include <openssl/ripemd.h>
+#include <openssl/crypto.h>
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 <stdio.h>
#include <string.h>
#include <openssl/sha.h>
+#include <openssl/crypto.h>
#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 <stdio.h>
#include <string.h>
#include <openssl/sha.h>
+#include <openssl/crypto.h>
#ifndef NO_SHA0
unsigned char *SHA(const unsigned char *d, unsigned long n, unsigned char *md)