[openssl-commits] [openssl] master update
Matt Caswell
matt at openssl.org
Wed Feb 10 17:40:14 UTC 2016
The branch master has been updated
via 8bd8221be80708825ddb9771d4c9fff67860119b (commit)
from 5e136d7abf0945664fa40c7a032abed13fd15c81 (commit)
- Log -----------------------------------------------------------------
commit 8bd8221be80708825ddb9771d4c9fff67860119b
Author: Matt Caswell <matt at openssl.org>
Date: Wed Feb 10 16:46:33 2016 +0000
Variable was declared static when it shouldn't be
The local variable tmp was declared static when it shouldn't be. This
is in the no-threads implementation, and it was immediately initialised
to something else on every invokation of the function so it doesn't break
anything...but still shouldn't be there.
Reviewed-by: Kurt Roeckx <kurt at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
crypto/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/init.c b/crypto/init.c
index 04191de..3238b80 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -99,7 +99,7 @@ static void ossl_init_thread_stop_cleanup(void)
static struct thread_local_inits_st *local = NULL;
static struct thread_local_inits_st *ossl_init_get_thread_local(int alloc)
{
- static struct thread_local_inits_st *tmp;
+ struct thread_local_inits_st *tmp;
tmp = local;
More information about the openssl-commits
mailing list