projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add dladdr() for AIX
[openssl.git]
/
crypto
/
threads_pthread.c
diff --git
a/crypto/threads_pthread.c
b/crypto/threads_pthread.c
index 34be314f1fd7cbb4bcff27c1cc4d85c0034ca1a4..3aeef21668b93aaa4fa830cf8a8f0863a720032d 100644
(file)
--- a/
crypto/threads_pthread.c
+++ b/
crypto/threads_pthread.c
@@
-177,7
+177,7
@@
int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock)
return 1;
}
# endif
- if (!CRYPTO_THREAD_
write
_lock(lock))
+ if (!CRYPTO_THREAD_
read
_lock(lock))
return 0;
*ret = *val;