Skip to content

Commit

Permalink
Fix SYSerr and BIOerr in b_win.c
Browse files Browse the repository at this point in the history
  • Loading branch information
kinichiro committed Jan 31, 2017
1 parent 97fecd5 commit c957ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/compat/b_win.c
Expand Up @@ -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;
Expand Down

0 comments on commit c957ff6

Please sign in to comment.