summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2021-03-26 23:29:21 +0000
committerkn <kn@openbsd.org>2021-03-26 23:29:21 +0000
commitfcf3d43cc0b90d9e05a8e1269932955a1857612c (patch)
tree27c49bc8e78501ceb6e103db5a4a6cebee0b70ed /lib/libssl/ssl_lib.c
parentFix errno, merge ioctl cases (diff)
downloadwireguard-openbsd-fcf3d43cc0b90d9e05a8e1269932955a1857612c.tar.xz
wireguard-openbsd-fcf3d43cc0b90d9e05a8e1269932955a1857612c.zip
Fix "mach dtb" return code to avoid bogus boot
Bootloader command functions must return zero in case of failure, returning 1 tells the bootloader to boot the currently set kernel iamge. "machine dtb" is is the wrong way around so using it triggers a boot. Fix this and print a brief usage (like other commands such as "hexdump" do) while here. Feedback OK patrick
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions