diff options
Diffstat (limited to 'crypto/engine/enginetest.c')
-rw-r--r-- | crypto/engine/enginetest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c index c2d0297392..f4d70e7e0a 100644 --- a/crypto/engine/enginetest.c +++ b/crypto/engine/enginetest.c @@ -58,6 +58,7 @@ #include <stdio.h> #include <string.h> +#include <openssl/e_os2.h> #ifdef OPENSSL_NO_ENGINE int main(int argc, char *argv[]) @@ -66,13 +67,12 @@ int main(int argc, char *argv[]) return(0); } #else -#include <openssl/e_os2.h> #include <openssl/buffer.h> #include <openssl/crypto.h> #include <openssl/engine.h> #include <openssl/err.h> -static void display_engine_list() +static void display_engine_list(void) { ENGINE *h; int loop; @@ -276,7 +276,7 @@ end: ENGINE_cleanup(); CRYPTO_cleanup_all_ex_data(); ERR_free_strings(); - ERR_remove_state(0); + ERR_remove_thread_state(NULL); CRYPTO_mem_leaks_fp(stderr); return to_return; } |