projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT3548: Remove unsupported platforms
[openssl.git]
/
crypto
/
threads
/
mttest.c
diff --git
a/crypto/threads/mttest.c
b/crypto/threads/mttest.c
index fc686dde3f702a3f2f6e255528f14d98c4c8f616..9decb751db02aa950d992e644f85f4474e549c84 100644
(file)
--- a/
crypto/threads/mttest.c
+++ b/
crypto/threads/mttest.c
@@
-93,7
+93,6
@@
#include <openssl/rand.h>
#ifdef OPENSSL_NO_FP_API
#include <openssl/rand.h>
#ifdef OPENSSL_NO_FP_API
-#define APPS_WIN16
#include "../buffer/bss_file.c"
#endif
#include "../buffer/bss_file.c"
#endif
@@
-863,7
+862,7
@@
void solaris_locking_callback(int mode, int type, char *file, int line)
(type&CRYPTO_READ)?"r":"w",file,line);
#endif
(type&CRYPTO_READ)?"r":"w",file,line);
#endif
- /*
+ /*
-
if (CRYPTO_LOCK_SSL_CERT == type)
fprintf(stderr,"(t,m,f,l) %ld %d %s %d\n",
CRYPTO_thread_id(),
if (CRYPTO_LOCK_SSL_CERT == type)
fprintf(stderr,"(t,m,f,l) %ld %d %s %d\n",
CRYPTO_thread_id(),
@@
-871,7
+870,8
@@
void solaris_locking_callback(int mode, int type, char *file, int line)
*/
if (mode & CRYPTO_LOCK)
{
*/
if (mode & CRYPTO_LOCK)
{
- /* if (mode & CRYPTO_READ)
+ /*-
+ if (mode & CRYPTO_READ)
rw_rdlock(&(lock_cs[type]));
else
rw_wrlock(&(lock_cs[type])); */
rw_rdlock(&(lock_cs[type]));
else
rw_wrlock(&(lock_cs[type])); */
@@
-1067,7
+1067,7
@@
void pthreads_locking_callback(int mode, int type, char *file,
(mode&CRYPTO_LOCK)?"l":"u",
(type&CRYPTO_READ)?"r":"w",file,line);
#endif
(mode&CRYPTO_LOCK)?"l":"u",
(type&CRYPTO_READ)?"r":"w",file,line);
#endif
-/*
+/*
-
if (CRYPTO_LOCK_SSL_CERT == type)
fprintf(stderr,"(t,m,f,l) %ld %d %s %d\n",
CRYPTO_thread_id(),
if (CRYPTO_LOCK_SSL_CERT == type)
fprintf(stderr,"(t,m,f,l) %ld %d %s %d\n",
CRYPTO_thread_id(),