aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-07-10 22:01:53 +0900
committerKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-07-10 23:22:00 +0900
commitb46676e30dd135dfa886d4ed8098a939b2e5e1de (patch)
tree8cbe125730c103aaabba46c70bb3c0bf07c2a0b1 /update.sh
parent62858a6ba717bcadbcbf9135ba5873f017162c7d (diff)
downloadportable-b46676e30dd135dfa886d4ed8098a939b2e5e1de.tar.gz
portable-b46676e30dd135dfa886d4ed8098a939b2e5e1de.tar.bz2
portable-b46676e30dd135dfa886d4ed8098a939b2e5e1de.zip
hook up x509/verify regress test
Copy regress/lib/libcrypto/x509/verify.c as x509_verify.c to avoid the basename collision with x509/bettertls/verify.c when regress tests are flattened into tests. Also copy the libcrypto cert test data and make-dir-roots.pl, add a wrapper to prepare the CApath roots directory, and register the test for both autotools and CMake. Refs #1273
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index e4377d3..31cd04d 100755
--- a/update.sh
+++ b/update.sh
@@ -334,10 +334,20 @@ touch tests/empty.c
334for i in `find $libcrypto_regress -name '*.[ch]'`; do 334for i in `find $libcrypto_regress -name '*.[ch]'`; do
335 $CP "$i" tests 335 $CP "$i" tests
336done 336done
337# x509/verify.c collides with x509/bettertls/verify.c when flattened.
338$CP $libcrypto_regress/x509/verify.c tests/x509_verify.c
337$CP $libcrypto_regress/evp/evptests.txt tests 339$CP $libcrypto_regress/evp/evptests.txt tests
338$CP $libcrypto_regress/aead/*.txt tests 340$CP $libcrypto_regress/aead/*.txt tests
339$CP $libcrypto_regress/ct/ctlog.conf tests 341$CP $libcrypto_regress/ct/ctlog.conf tests
340$CP $libcrypto_regress/ct/*.crt tests 342$CP $libcrypto_regress/ct/*.crt tests
343$CP $libcrypto_regress/x509/make-dir-roots.pl tests
344rm -rf tests/certs
345mkdir -p tests/certs
346for i in $libcrypto_regress/certs/[0-9]*; do
347 if [ -d "$i" ]; then
348 $CP -R "$i" tests/certs
349 fi
350done
341$CP $libcrypto_regress/x509/policy/*.pem tests 351$CP $libcrypto_regress/x509/policy/*.pem tests
342$CP $libcrypto_regress/mlkem/*.txt tests 352$CP $libcrypto_regress/mlkem/*.txt tests
343 353