From: Andy Polyakov Date: Wed, 2 Apr 2014 19:48:56 +0000 (+0200) Subject: cryptlib.c: fix typo in WIN32 version of OPENSSL_showfatal. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=493119b1a81ccd447a88654cbc95aaab73289d85;p=oweals%2Fopenssl.git cryptlib.c: fix typo in WIN32 version of OPENSSL_showfatal. --- diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 118fca1ee9..cf96011cc5 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -297,7 +297,7 @@ void OPENSSL_showfatal (const char *fmta,...) DWORD out; va_start (ap,fmta); - len=_vsnprintf((char *)buf,sizeof(buf),fmt,ap); + len=_vsnprintf((char *)buf,sizeof(buf),fmta,ap); WriteFile(h,buf,len<0?sizeof(buf):(DWORD)len,&out,NULL); va_end (ap); return;