summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c8
1 files changed, 8 insertions, 0 deletions
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; }