projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec93a29
)
Removed tab spaces.
author
Dmitry Kostjuchenko
<dmitrykos@neutroncode.com>
Mon, 28 Nov 2016 18:16:34 +0000
(20:16 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 3 Feb 2017 12:48:44 +0000
(13:48 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1981)
crypto/threads_pthread.c
patch
|
blob
|
history
diff --git
a/crypto/threads_pthread.c
b/crypto/threads_pthread.c
index 4ba47966a6c134eaf2b285c73d346e0a6567cfed..5b10f438b9cb7ae98607d6cb2513bcb9faf755c1 100644
(file)
--- a/
crypto/threads_pthread.c
+++ b/
crypto/threads_pthread.c
@@
-35,13
+35,13
@@
CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void)
pthread_mutexattr_init(&attr);
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
-
+
if (pthread_mutex_init(lock, &attr) != 0) {
pthread_mutexattr_destroy(&attr);
OPENSSL_free(lock);
return NULL;
}
-
+
pthread_mutexattr_destroy(&attr);
# endif