mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-04-08 18:35:05 +02:00
compile on systems without TCP_MD5SIG (e.g. OSX)
This commit is contained in:
parent
358964f308
commit
69ff64f696
@ -1144,11 +1144,13 @@ set_common_sockopts(int s)
|
||||
{
|
||||
int x = 1;
|
||||
|
||||
#ifdef TCP_MD5SIG
|
||||
if (Sflag) {
|
||||
if (setsockopt(s, IPPROTO_TCP, TCP_MD5SIG,
|
||||
&x, sizeof(x)) == -1)
|
||||
err(1, NULL);
|
||||
}
|
||||
#endif
|
||||
if (Dflag) {
|
||||
if (setsockopt(s, SOL_SOCKET, SO_DEBUG,
|
||||
&x, sizeof(x)) == -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user