]> git.ipfire.org Git - thirdparty/openssl.git/commit
TEST: Fix path length in test/ossl_store_test.c
authorRichard Levitte <levitte@openssl.org>
Fri, 27 Nov 2020 07:08:08 +0000 (08:08 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 28 Nov 2020 20:19:18 +0000 (21:19 +0100)
commitd27a8e922ba0b5357abf435cca75b5fe133cfe94
tree1fe3abd9122e8b6d7bce526617754a97a2dd471b
parentbf4cdd4abfa28ad52ece035ea25831921aee21c5
TEST: Fix path length in test/ossl_store_test.c

The URI length was set to 80 chars, but the URI being built up may
need more space, all depending on the paths used to get to the files
that are to be loaded.  If the result needs more than 80 chars, the
test will fail.

Fixed by using PATH_MAX.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13546)
test/ossl_store_test.c