diff options
author | tb <> | 2017-06-10 18:14:10 +0000 |
---|---|---|
committer | tb <> | 2017-06-10 18:14:10 +0000 |
commit | 1c17fdf7e8d2fdb96c9bb25c504c1bf0f3be384a (patch) | |
tree | fde10ac3ceb247983bb8cd5f8bab7f2f6eb8e57f /src/lib/libtls/tls_server.c | |
parent | 0872767118dfebd4e7983c033acce9a8f14cb145 (diff) | |
download | openbsd-1c17fdf7e8d2fdb96c9bb25c504c1bf0f3be384a.tar.gz openbsd-1c17fdf7e8d2fdb96c9bb25c504c1bf0f3be384a.tar.bz2 openbsd-1c17fdf7e8d2fdb96c9bb25c504c1bf0f3be384a.zip |
If -P and -c were given, a second pledge call tried to add "rpath" to the
first pledge promises, so nc exited with EPERM. To fix this, merge the
pledge of the Pflag && usetls case into the first pledge block. This
allows us to get rid of the second pledge block and thus to simplify the
logic a bit. While there, add a missing blank to an error string.
Joint effort by the #openbsd-daily code reading group, problem found and
initial patch by <rain1 openmailbox org>.
ok awolk
Diffstat (limited to 'src/lib/libtls/tls_server.c')
0 files changed, 0 insertions, 0 deletions