Remove openssl.cnf from vendor bundles as it is not necessary

See: https://github.com/phpseclib/phpseclib/issues/1781

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2022-04-27 12:50:58 +02:00
parent 4564ff5dc4
commit 124bb336fd
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -218,6 +218,9 @@ cleanup_composer_vendors() {
-not -name Random.php \
-not -name Rijndael.php \
-print0 | xargs -0 rm
# See: https://github.com/phpseclib/phpseclib/issues/1781
# if vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php is missing then openssl.cnf can be removed
rm vendor/phpseclib/phpseclib/phpseclib/openssl.cnf
find vendor/tecnickcom/tcpdf/fonts/ -maxdepth 1 -type f \
-not -name 'dejavusans.*' \
-not -name 'dejavusansb.*' \