summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2014-04-18 10:48:29 +0000
committerjca <jca@openbsd.org>2014-04-18 10:48:29 +0000
commit0039ae5121f443fb1a694aa0cd205482e690200f (patch)
tree6d779b7c1d3700405ef8ed9a1630d3e20ca045cb /lib/libssl/src
parentstop testing altq stuffz (diff)
downloadwireguard-openbsd-0039ae5121f443fb1a694aa0cd205482e690200f.tar.xz
wireguard-openbsd-0039ae5121f443fb1a694aa0cd205482e690200f.zip
Invert the signature logic of in{,6}_selectsrc, make them return the
error code and pass the resulting source address back to the caller through a pointer, as suggested by chrisz. This gives us more readable code, and eases the deletion of useless checks in the callers' error path. Add a bunch of "0 -> NULL" conversions, while here. ok chrisz@ mpi@
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions