fix typos and other little errors ...
[openssl.git] / apps / openssl.c
index 846d4af6b8771b5abf22a13d5b204cced8376b93..bbee18d1d1bb75fbad98beae90149741fb9ed04d 100644 (file)
@@ -136,7 +136,7 @@ int main(int Argc, char *Argv[])
                if ((bio_err=BIO_new(BIO_s_file())) != NULL)
                        BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
 
-       CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE);
+       CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
 
        ERR_load_crypto_strings();
 
@@ -236,6 +236,11 @@ end:
        EVP_cleanup();
        ERR_free_strings();
 
+#ifdef LEVITTE_DEBUG
+       CRYPTO_add_info("Just to make sure I get a memory leak I can see :-)");
+       (void)Malloc(1024);
+#endif
+
        CRYPTO_mem_leaks(bio_err);
        if (bio_err != NULL)
                {