summaryrefslogtreecommitdiffstats
path: root/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2017-07-23 14:28:22 +0000
committerjca <jca@openbsd.org>2017-07-23 14:28:22 +0000
commitf37041af1753ead261693224ab1d2baba9019f1b (patch)
tree664269858c248f57bc260a833079361d86bbaf04 /lib/libssl/t1_lib.c
parentDon't bother initializing global variables to 0, since they will be in BSS. (diff)
downloadwireguard-openbsd-f37041af1753ead261693224ab1d2baba9019f1b.tar.xz
wireguard-openbsd-f37041af1753ead261693224ab1d2baba9019f1b.zip
Don't hit pledge(2) restrictions on interface departure
if_exists() can't be used after dropping privileges, since it uses socket(2) and ioctl(SIOCGIFDATA). We're just trying to know whether an interface exists, and if_nametoindex(3) is enough for that. ok deraadt@
Diffstat (limited to 'lib/libssl/t1_lib.c')
0 files changed, 0 insertions, 0 deletions