projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32b56fe
)
Workaround for VxWorks
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 4 Dec 2011 15:11:44 +0000
(15:11 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 4 Dec 2011 15:11:44 +0000
(15:11 +0000)
crypto/cryptlib.c
patch
|
blob
|
history
diff --git
a/crypto/cryptlib.c
b/crypto/cryptlib.c
index 524daf037d108dcc7a86fcb2c7eec07969c8ddfc..87768d94e7550b350840b4684d9a72e7b48bc1ca 100644
(file)
--- 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; }