Add missing semicolon to make compiler happy, and switch back
authorBodo Möller <bodo@openssl.org>
Sat, 18 Dec 1999 00:28:21 +0000 (00:28 +0000)
committerBodo Möller <bodo@openssl.org>
Sat, 18 Dec 1999 00:28:21 +0000 (00:28 +0000)
from MemCheck_start() to CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON)
because that is what applications should use
(MemCheck_start/stop never really worked for applications
unless CRYPTO_MDEBUG was defined both when compiling the library
and when compiling the application, so probably we should
get rid of it).

apps/openssl.c

index 27073f5..1199f89 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);
 
-       MemCheck_start()
+       CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
 
        ERR_load_crypto_strings();