summaryrefslogtreecommitdiff
path: root/src/lib/libssl
diff options
context:
space:
mode:
authortb <>2020-01-23 03:53:39 +0000
committertb <>2020-01-23 03:53:39 +0000
commitd074b68b31fc121e4b52ff0c09efcf6d853b383d (patch)
tree4d9d69b009f469def034872876e1caec106f28a1 /src/lib/libssl
parent71c7229e77572c3e0f8daf1980a554f126e7ba5d (diff)
downloadopenbsd-d074b68b31fc121e4b52ff0c09efcf6d853b383d.tar.gz
openbsd-d074b68b31fc121e4b52ff0c09efcf6d853b383d.tar.bz2
openbsd-d074b68b31fc121e4b52ff0c09efcf6d853b383d.zip
The X509_LOOKUP code tries to grope around in /etc/ssl/cert/ to find
CA certs it couldn't find otherwise. This may lead to a pledge rpath violation reported by Kor, son of Rynar. Unfortunately, providing certs inside a directory is common in linuxes, so we need to keep this functionality for portable. Check if /etc/ssl/cert.pem and /etc/ssl/cert exist and pledge accordingly. Add unveils to restrict this program further on a default OpenBSD install. Fix -C to look only inside the provided root bundle. Input from jsing and sthen, tests by sthen and Kor ok beck, jsing, sthen (after much back and forth)
Diffstat (limited to 'src/lib/libssl')
0 files changed, 0 insertions, 0 deletions