]> git.ipfire.org Git - thirdparty/openssl.git/commit
Allow absolute paths to be set
authorRich Salz <rsalz@akamai.com>
Thu, 29 Apr 2021 20:22:30 +0000 (16:22 -0400)
committerTomas Mraz <tomas@openssl.org>
Wed, 5 May 2021 11:11:17 +0000 (13:11 +0200)
commit3fb985fd04611082bbfc3622a078e8c5e5edb378
treef465217c2b35abf7f8e50bbf86d895ae2b6a5ee0
parent1127754e4877b2a4bd53112de115041d1952fa12
Allow absolute paths to be set

It was a mistake to allow relative paths for include files (just
like root shouldn't have "." in its PATH), but we probably can't
change it now. Add a new pragma "abspath" that someone can put
in the system-wide config file to require absolute paths.

Also update the config documentation to better explain how file
inclusion works.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15090)
CHANGES.md
crypto/conf/conf_def.c
crypto/conf/conf_err.c
crypto/err/openssl.txt
doc/man5/config.pod
include/crypto/conferr.h
include/openssl/conferr.h