Rename implementations of method functions so that they match
[openssl.git] / crypto / bn / exptest.c
index b6c7b18a3a82022e330ae1ec8e093ef233f23b5d..5ca570d1a8a23daa3846ba16af5dc6c71cc9329c 100644 (file)
@@ -63,7 +63,7 @@
 #include <openssl/bn.h>
 #include <openssl/rand.h>
 #include <openssl/err.h>
-#ifdef WINDOWS
+#ifdef OPENSSL_SYS_WINDOWS
 #include "../bio/bss_file.c"
 #endif
 
@@ -173,6 +173,7 @@ int main(int argc, char *argv[])
        BN_free(b);
        BN_free(m);
        BN_CTX_free(ctx);
+       ERR_remove_state(0);
        CRYPTO_mem_leaks(out);
        BIO_free(out);
        printf(" done\n");