From: Dr. Stephen Henson Date: Sun, 4 Dec 2011 15:11:44 +0000 (+0000) Subject: Workaround for VxWorks X-Git-Tag: OpenSSL-fips-2_0-rc6~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=61c3085d476c5d53f4f4f3c5007d89bf4afbb099;p=oweals%2Fopenssl.git Workaround for VxWorks --- diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 524daf037d..87768d94e7 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -359,7 +359,15 @@ void OPENSSL_showfatal (const char *fmta,...) { va_list ap; va_start (ap,fmta); +#if defined(OPENSSL_SYS_VXWORKS) + { + char buf[256]; + vsnprintf(buf,sizeof(buf),fmta,ap); + printf("%s",buf); + } +#else vfprintf (stderr,fmta,ap); +#endif va_end (ap); } int OPENSSL_isservice (void) { return 0; }