summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-12-03 14:20:44 +0000
committerRichard Levitte <levitte@openssl.org>2002-12-03 14:20:44 +0000
commit7a1f92fdc39c5840cb8f491fa59a6ae5b9b5f610 (patch)
tree43e87cd1c6d73fdc59d70f3b2e4a75fc7cb2f5f2 /crypto
parente7a285694ee5213c26d5d1216fa04724a82f3da5 (diff)
Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/crypto.h3
-rw-r--r--crypto/des/read2pwd.c3
-rw-r--r--crypto/engine/enginetest.c3
-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/rand/rand_win.c2
-rw-r--r--crypto/ripemd/rmd_one.c1
-rw-r--r--crypto/sha/sha1_one.c1
-rw-r--r--crypto/sha/sha_one.c1
-rw-r--r--crypto/ui/ui_util.c3
11 files changed, 7 insertions, 13 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 4027b4306c..60effb4152 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -121,9 +121,6 @@
#ifndef OPENSSL_NO_FP_API
#include <stdio.h>
-#ifdef OPENSSL_SYS_WINCE
-#include <stdio_extras.h>
-#endif
#endif
#include <openssl/stack.h>
diff --git a/crypto/des/read2pwd.c b/crypto/des/read2pwd.c
index 430da4e994..3a63c4016c 100644
--- a/crypto/des/read2pwd.c
+++ b/crypto/des/read2pwd.c
@@ -112,9 +112,6 @@
#include <string.h>
#include <openssl/des.h>
#include <openssl/ui.h>
-#ifdef OPENSSL_SYS_WINCE
-#include <stdio_extras.h> /* BUFSIZ */
-#endif
int DES_read_password(DES_cblock *key, const char *prompt, int verify)
{
diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c
index 51eb091e60..87fa8c57b7 100644
--- a/crypto/engine/enginetest.c
+++ b/crypto/engine/enginetest.c
@@ -58,9 +58,6 @@
#include <openssl/e_os2.h>
#include <stdio.h>
-#ifdef OPENSSL_SYS_WINCE
-#include <stdlib_extras.h>
-#endif
#include <string.h>
#include <openssl/buffer.h>
#include <openssl/crypto.h>
diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c
index 47866c3c86..ecb64f0ec4 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/rand/rand_win.c b/crypto/rand/rand_win.c
index 37f172f8a4..113b58678f 100644
--- a/crypto/rand/rand_win.c
+++ b/crypto/rand/rand_win.c
@@ -211,7 +211,7 @@ int RAND_poll(void)
osverinfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO) ;
GetVersionEx( &osverinfo ) ;
-#ifdef OPENSSL_SYS_WINCE
+#if defined(OPENSSL_SYS_WINCE) && WCEPLATFORM!=MS_HPC_PRO
/* poll the CryptoAPI PRNG */
/* The CryptoAPI returns sizeof(buf) bytes of randomness */
if (CryptAcquireContext(&hProvider, 0, 0, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT))
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 ad235d6cdc..20e660c71d 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 OPENSSL_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 66b083144a..e61c63f3e9 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 OPENSSL_NO_SHA0
unsigned char *SHA(const unsigned char *d, unsigned long n, unsigned char *md)
diff --git a/crypto/ui/ui_util.c b/crypto/ui/ui_util.c
index fc8b691a87..ee9730d5e2 100644
--- a/crypto/ui/ui_util.c
+++ b/crypto/ui/ui_util.c
@@ -55,9 +55,6 @@
#include <string.h>
#include <openssl/ui.h>
-#ifdef OPENSSL_SYS_WINCE
-#include <stdio_extras.h> /* BUFSIZ */
-#endif
int UI_UTIL_read_pw_string(char *buf,int length,const char *prompt,int verify)
{