}
#endif
-void OPENSSL_showfatal (char *fmta,...)
+void OPENSSL_showfatal (const char *fmta,...)
{ va_list ap;
- TCHAR buf[256],*fmt;
+ TCHAR buf[256]
+ const TCHAR *fmt;
HANDLE h;
if ((h=GetStdHandle(STD_ERROR_HANDLE)) != NULL &&
#else
fmtw = (WCHAR *)alloca (len_0*sizeof(WCHAR));
#endif
- if (fmtw == NULL) { fmt=(TCHAR *)L"no stack?"; break; }
+ if (fmtw == NULL) { fmt=(const TCHAR *)L"no stack?"; break; }
#ifndef OPENSSL_NO_MULTIBYTE
if (!MultiByteToWideChar(CP_ACP,0,fmta,len_0,fmtw,len_0))
}
} while (keepgoing);
}
- fmt = (TCHAR *)fmtw;
+ fmt = (const TCHAR *)fmtw;
} while (0);
va_start (ap,fmta);
}
}
#else
-void OPENSSL_showfatal (char *fmta,...)
+void OPENSSL_showfatal (const char *fmta,...)
{ va_list ap;
va_start (ap,fmta);
file,line,assertion);
abort();
}
+
+void *OPENSSL_stderr(void) { return stderr; }
void OPENSSL_cpuid_setup(void);
extern unsigned long OPENSSL_ia32cap_P;
+void OPENSSL_showfatal(const char *,...);
+void *OPENSSL_stderr(void);
#ifdef __cplusplus
}