summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt/cryptutil.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-02-24 18:45:51 +0000
committertedu <tedu@openbsd.org>2015-02-24 18:45:51 +0000
commit88a56c4ff356f3035d1a4a54c19af96e21dbc21d (patch)
tree2bc5c005749478683db42f01433e0ce77a2ca0ca /lib/libc/crypt/cryptutil.c
parentadd -v (show ASCII art) to -l's synopsis; ok djm@ (diff)
downloadwireguard-openbsd-88a56c4ff356f3035d1a4a54c19af96e21dbc21d.tar.xz
wireguard-openbsd-88a56c4ff356f3035d1a4a54c19af96e21dbc21d.zip
increase prefbuf size so that 'encrypt -b 000000000000000000000012' works.
noticed by Andre Smagin. also check snprintf for overflow so we get better error messages if somebody decides to pad with even more zeroes, and avoid possible truncations.
Diffstat (limited to 'lib/libc/crypt/cryptutil.c')
0 files changed, 0 insertions, 0 deletions