From 63c574f6a639cfa3f53476080054526e6bfa3bc9 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 27 Jan 2015 16:43:53 -0500 Subject: OPENSSL_NO_XXX cleanup: OPENSSL_NO_BUF_FREELISTS Remove OPENSSL_NO_BUF_FREELISTS. This was turned on by default, so the work here is removing the 'maintain our own freelist' code. Also removed a minor old Windows-multibyte/widechar conversion flag. Reviewed-by: Andy Polyakov --- crypto/cryptlib.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'crypto') diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 6597af6523..ce07b848d2 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -365,12 +365,9 @@ void OPENSSL_showfatal(const char *fmta, ...) fmt = (const TCHAR *)L"no stack?"; break; } -# ifndef OPENSSL_NO_MULTIBYTE if (!MultiByteToWideChar(CP_ACP, 0, fmta, len_0, fmtw, len_0)) -# endif for (i = 0; i < len_0; i++) fmtw[i] = (WCHAR)fmta[i]; - for (i = 0; i < len_0; i++) { if (fmtw[i] == L'%') do { -- cgit v1.2.3