cryptlib.c: fix typo in WIN32 version of OPENSSL_showfatal.
authorAndy Polyakov <appro@openssl.org>
Wed, 2 Apr 2014 19:48:56 +0000 (21:48 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 2 Apr 2014 19:48:56 +0000 (21:48 +0200)
crypto/cryptlib.c

index 118fca1ee9ca3b8ca0707891615ef70d8a174801..cf96011cc54aa772601b9fce08a55cd8439ade68 100644 (file)
@@ -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;