summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_srtp.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2015-07-15 17:52:23 +0000
committerreyk <reyk@openbsd.org>2015-07-15 17:52:23 +0000
commite22b0c746df273b12dc8a937a6e9c54c065ba64d (patch)
tree3eaa0da789f940e68a47f2f858a6d8df5111a2ba /lib/libssl/d1_srtp.c
parentFix urtw(4) error code paths to not panic the kernel. Makes the driver work (diff)
downloadwireguard-openbsd-e22b0c746df273b12dc8a937a6e9c54c065ba64d.tar.xz
wireguard-openbsd-e22b0c746df273b12dc8a937a6e9c54c065ba64d.zip
Simplify the error path of the previous commit: by using ret = -1 by
default and only setting it to 0 on success, we don't have to set it in each error case. While here, also remove two superfluous NULL checks (as pointed out by semarie). OK semarie@
Diffstat (limited to 'lib/libssl/d1_srtp.c')
0 files changed, 0 insertions, 0 deletions