diff options
author | Geoff Thorpe <geoff@openssl.org> | 2008-07-03 19:59:25 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2008-07-03 19:59:25 +0000 |
commit | 5f834ab123af6444b7cffe21849e434ad6479f8a (patch) | |
tree | 0cc48f4fc085f781606cb118b715781651487cb3 /apps | |
parent | 8528128b2a740d34d3ae1d43c525d7e6ea6d7f37 (diff) | |
download | openssl-5f834ab123af6444b7cffe21849e434ad6479f8a.tar.gz |
Revert my earlier CRYPTO_THREADID commit, I will commit a reworked
version some time soon.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/apps.h b/apps/apps.h index bcf597f3ef..93d874976b 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -181,7 +181,7 @@ extern BIO *bio_err; # define apps_shutdown() \ do { CONF_modules_unload(1); destroy_ui_method(); \ OBJ_cleanup(); EVP_cleanup(); ENGINE_cleanup(); \ - CRYPTO_cleanup_all_ex_data(); ERR_remove_thread_state(NULL); \ + CRYPTO_cleanup_all_ex_data(); ERR_remove_state(0); \ ERR_free_strings(); COMP_zlib_cleanup();} while(0) # else # define apps_startup() \ @@ -191,7 +191,7 @@ extern BIO *bio_err; # define apps_shutdown() \ do { CONF_modules_unload(1); destroy_ui_method(); \ OBJ_cleanup(); EVP_cleanup(); \ - CRYPTO_cleanup_all_ex_data(); ERR_remove_thread_state(NULL); \ + CRYPTO_cleanup_all_ex_data(); ERR_remove_state(0); \ ERR_free_strings(); } while(0) # endif #endif |