OSSL_STORE "file" scheme loader: check for absolute path in URI later
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Jul 2017 10:44:24 +0000 (12:44 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 15 Jul 2017 16:53:07 +0000 (18:53 +0200)
commit6eaebfaab503293f03c9d8cdd48e831d1f12f89b
tree34bf63b1326a6752885fc290f18afc9bafb4aeeb
parent4c0669dc6f5863b4d79c45abe37f566ffc61af01
OSSL_STORE "file" scheme loader: check for absolute path in URI later

If we have a local file with a name starting with 'file:', we don't
want to check if the part after 'file:' is absolute.  Instead, mark
each possibility for absolute check if needed, and perform the
absolute check later on, when checking each actual path.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3907)
crypto/store/loader_file.c