mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 03:52:28 +02:00
Merge branch 'feat_misc' into beta2.2
This commit is contained in:
commit
f437ac7ade
2
socks.c
2
socks.c
@ -121,7 +121,7 @@ socks_username_password_auth (struct socks_proxy_info *p,
|
|||||||
"Authentication not possible.");
|
"Authentication not possible.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
snprintf (to_send, sizeof (to_send), "\x01%c%s%c%s", (int) strlen(creds.username),
|
openvpn_snprintf (to_send, sizeof (to_send), "\x01%c%s%c%s", (int) strlen(creds.username),
|
||||||
creds.username, (int) strlen(creds.password), creds.password);
|
creds.username, (int) strlen(creds.password), creds.password);
|
||||||
size = send (sd, to_send, strlen(to_send), MSG_NOSIGNAL);
|
size = send (sd, to_send, strlen(to_send), MSG_NOSIGNAL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user