summaryrefslogtreecommitdiffstats
path: root/lib/libc/compat-43/sigcompat.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2015-01-16 14:34:51 +0000
committerreyk <reyk@openbsd.org>2015-01-16 14:34:51 +0000
commit31413d7e14c4bb6e451ce431ebff2b807d8f72f8 (patch)
tree8312b1551f84838b8b3a3075afc5522b4e2372d3 /lib/libc/compat-43/sigcompat.c
parentTweak previous: Do not put punctuation on its own line, put it at the end (diff)
downloadwireguard-openbsd-31413d7e14c4bb6e451ce431ebff2b807d8f72f8.tar.xz
wireguard-openbsd-31413d7e14c4bb6e451ce431ebff2b807d8f72f8.zip
The SSL/TLS session Id context is limited to 32 bytes. Instead of
using the name of relayd relay or smtpd pki, use a 32 byte arc4random buffer that should be unique for the context. This fixes an issue in OpenSMTPD when a long pki name could break the configuration. OK gilles@ benno@
Diffstat (limited to 'lib/libc/compat-43/sigcompat.c')
0 files changed, 0 insertions, 0 deletions