diff options
author | beck <> | 2002-05-15 02:29:21 +0000 |
---|---|---|
committer | beck <> | 2002-05-15 02:29:21 +0000 |
commit | b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9 (patch) | |
tree | fa27cf82a1250b64ed3bf5f4a18c7354d470bbcc /src/lib/libcrypto/threads | |
parent | e471e1ea98d673597b182ea85f29e30c97cd08b5 (diff) | |
download | openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.gz openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.bz2 openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.zip |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'src/lib/libcrypto/threads')
-rw-r--r-- | src/lib/libcrypto/threads/mttest.c | 8 | ||||
-rw-r--r-- | src/lib/libcrypto/threads/th-lock.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/threads/mttest.c b/src/lib/libcrypto/threads/mttest.c index 019add4d9c..c474a63c74 100644 --- a/src/lib/libcrypto/threads/mttest.c +++ b/src/lib/libcrypto/threads/mttest.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #ifdef LINUX | 63 | #ifdef LINUX |
64 | #include <typedefs.h> | 64 | #include <typedefs.h> |
65 | #endif | 65 | #endif |
66 | #ifdef WIN32 | 66 | #ifdef OPENSSL_SYS_WIN32 |
67 | #include <windows.h> | 67 | #include <windows.h> |
68 | #endif | 68 | #endif |
69 | #ifdef SOLARIS | 69 | #ifdef SOLARIS |
@@ -86,7 +86,7 @@ | |||
86 | #include <openssl/err.h> | 86 | #include <openssl/err.h> |
87 | #include <openssl/rand.h> | 87 | #include <openssl/rand.h> |
88 | 88 | ||
89 | #ifdef NO_FP_API | 89 | #ifdef OPENSSL_NO_FP_API |
90 | #define APPS_WIN16 | 90 | #define APPS_WIN16 |
91 | #include "../buffer/bss_file.c" | 91 | #include "../buffer/bss_file.c" |
92 | #endif | 92 | #endif |
@@ -692,7 +692,7 @@ int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx) | |||
692 | 692 | ||
693 | #define THREAD_STACK_SIZE (16*1024) | 693 | #define THREAD_STACK_SIZE (16*1024) |
694 | 694 | ||
695 | #ifdef WIN32 | 695 | #ifdef OPENSSL_SYS_WIN32 |
696 | 696 | ||
697 | static HANDLE *lock_cs; | 697 | static HANDLE *lock_cs; |
698 | 698 | ||
@@ -783,7 +783,7 @@ void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) | |||
783 | printf("win32 threads done - %.3f seconds\n",ret); | 783 | printf("win32 threads done - %.3f seconds\n",ret); |
784 | } | 784 | } |
785 | 785 | ||
786 | #endif /* WIN32 */ | 786 | #endif /* OPENSSL_SYS_WIN32 */ |
787 | 787 | ||
788 | #ifdef SOLARIS | 788 | #ifdef SOLARIS |
789 | 789 | ||
diff --git a/src/lib/libcrypto/threads/th-lock.c b/src/lib/libcrypto/threads/th-lock.c index 553d2218de..a6a79b9f45 100644 --- a/src/lib/libcrypto/threads/th-lock.c +++ b/src/lib/libcrypto/threads/th-lock.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #ifdef LINUX | 63 | #ifdef LINUX |
64 | #include <typedefs.h> | 64 | #include <typedefs.h> |
65 | #endif | 65 | #endif |
66 | #ifdef WIN32 | 66 | #ifdef OPENSSL_SYS_WIN32 |
67 | #include <windows.h> | 67 | #include <windows.h> |
68 | #endif | 68 | #endif |
69 | #ifdef SOLARIS | 69 | #ifdef SOLARIS |
@@ -105,7 +105,7 @@ static unsigned long pthreads_thread_id(void ); | |||
105 | 105 | ||
106 | #define THREAD_STACK_SIZE (16*1024) | 106 | #define THREAD_STACK_SIZE (16*1024) |
107 | 107 | ||
108 | #ifdef WIN32 | 108 | #ifdef OPENSSL_SYS_WIN32 |
109 | 109 | ||
110 | static HANDLE *lock_cs; | 110 | static HANDLE *lock_cs; |
111 | 111 | ||
@@ -146,7 +146,7 @@ void win32_locking_callback(int mode, int type, char *file, int line) | |||
146 | } | 146 | } |
147 | } | 147 | } |
148 | 148 | ||
149 | #endif /* WIN32 */ | 149 | #endif /* OPENSSL_SYS_WIN32 */ |
150 | 150 | ||
151 | #ifdef SOLARIS | 151 | #ifdef SOLARIS |
152 | 152 | ||