diff options
author | reyk <> | 2015-01-16 14:34:51 +0000 |
---|---|---|
committer | reyk <> | 2015-01-16 14:34:51 +0000 |
commit | d23934efb8e7adaa63d4eb5752505a40e4b1f285 (patch) | |
tree | 607f55954a1c15abe402a97dd1b33b39adabb462 /src/lib/libc/stdlib/realpath.c | |
parent | e3fcff5ced4363c063140fcf09c8b274f8a77bdc (diff) | |
download | openbsd-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