summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/realpath.c
diff options
context:
space:
mode:
authorreyk <>2015-01-16 14:34:51 +0000
committerreyk <>2015-01-16 14:34:51 +0000
commitd23934efb8e7adaa63d4eb5752505a40e4b1f285 (patch)
tree607f55954a1c15abe402a97dd1b33b39adabb462 /src/lib/libc/stdlib/realpath.c
parente3fcff5ced4363c063140fcf09c8b274f8a77bdc (diff)
downloadopenbsd-d23934efb8e7adaa63d4eb5752505a40e4b1f285.tar.gz
openbsd-d23934efb8e7adaa63d4eb5752505a40e4b1f285.tar.bz2
openbsd-d23934efb8e7adaa63d4eb5752505a40e4b1f285.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 'src/lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions