From c957ff63c00d91da4054dcbeaacf8d6e7b74c44f Mon Sep 17 00:00:00 2001 From: kinichiro Date: Wed, 1 Feb 2017 01:13:09 +0900 Subject: [PATCH] Fix SYSerr and BIOerr in b_win.c --- crypto/compat/b_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/compat/b_win.c b/crypto/compat/b_win.c index b8d01ae..e261cd2 100644 --- a/crypto/compat/b_win.c +++ b/crypto/compat/b_win.c @@ -23,8 +23,8 @@ BIO_sock_init(void) if (!wsa_init_done) { if (WSAStartup(version_requested, &wsa_state) != 0) { int err = WSAGetLastError(); - SYSerr(SYS_F_WSASTARTUP, err); - BIOerr(BIO_F_BIO_SOCK_INIT, BIO_R_WSASTARTUP); + SYSerror(err); + BIOerror(BIO_R_WSASTARTUP); return (-1); } wsa_init_done = 1;