From: Bodo Möller <bodo@openssl.org>
Date: Sat, 18 Dec 1999 00:28:21 +0000 (+0000)
Subject: Add missing semicolon to make compiler happy, and switch back
X-Git-Tag: OpenSSL_0_9_5beta1~372
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8f48dbaccaca9d497223a14282ff473341897c3;p=openssl

Add missing semicolon to make compiler happy, and switch back
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).
---

diff --git a/apps/openssl.c b/apps/openssl.c
index 27073f51c3..1199f894e3 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -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();