diff options
author | Arne Schwabe | 2021-05-12 15:15:04 +0200 |
---|---|---|
committer | Gert Doering | 2021-05-14 14:02:25 +0200 |
commit | 84e14209232441fd6601d3efb7c7aa93bee4ce88 (patch) | |
tree | 3c8bd1dd978ca166c12b493e391e894c23093453 /configure.ac | |
parent | 92994e682fa5f27e0c5126f16bbfae7d582c4e9c (diff) | |
download | openvpn-84e14209232441fd6601d3efb7c7aa93bee4ce88.zip openvpn-84e14209232441fd6601d3efb7c7aa93bee4ce88.tar.gz |
Remove getpeername, getpid check
getpeername is part of SUSv3 and Windows also provides the function
as part of winsocks.
getpid is also provided by both Posix and windows and we do not even
use getpid on Windows since we rather call GetCurrentProcessId.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210512131511.1309914-3-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22340.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index dce7982..cc1dedb 100644 --- a/configure.ac +++ b/configure.ac @@ -619,10 +619,10 @@ AC_CHECK_DECLS( AC_FUNC_FORK AC_CHECK_FUNCS([ \ - daemon chroot getpwnam setuid nice system getpid dup dup2 \ + daemon chroot getpwnam setuid nice system dup dup2 \ syslog openlog mlockall getrlimit getgrnam setgid \ setgroups flock readv writev time gettimeofday \ - setsid chdir getpeername \ + setsid chdir \ chsize ftruncate execve getpeereid basename dirname access \ epoll_create strsep \ ]) |