summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-01-27 16:43:53 -0500
committerRich Salz <rsalz@openssl.org>2015-01-27 16:43:53 -0500
commit63c574f6a639cfa3f53476080054526e6bfa3bc9 (patch)
treef8ef68a58d38e5b4fcd4372023c2001e394791e3 /crypto/cryptlib.c
parentdaa48704cc04c61cf8f3e74759a7a3139b6aff01 (diff)
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 <appro@openssl.org>
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c3
1 files changed, 0 insertions, 3 deletions
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 {