diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2016-03-02 17:36:17 +0000 |
---|---|---|
committer | Alessandro Ghedini <alessandro@cloudflare.com> | 2016-03-08 14:11:09 +0000 |
commit | 8509dcc9f319190c565ab6baad7c88d37a951d1c (patch) | |
tree | d4b44b7ed13c84a55d73ff0254e370d753587c53 /crypto/init.c | |
parent | f75200115d1a778c39c8a8850823928d8be1f8ac (diff) |
Convert ERR_STATE to new multi-threading API
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/init.c')
-rw-r--r-- | crypto/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/init.c b/crypto/init.c index 44acd4f4df..b0826ee41c 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -360,9 +360,9 @@ static void ossl_init_thread_stop(struct thread_local_inits_st *locals) if (locals->err_state) { #ifdef OPENSSL_INIT_DEBUG fprintf(stderr, "OPENSSL_INIT: ossl_init_thread_stop: " - "ERR_remove_thread_state(NULL)\n"); + "ERR_remove_thread_state()\n"); #endif - ERR_remove_thread_state(NULL); + ERR_remove_thread_state(); } OPENSSL_free(locals); |