Merge branch 'TinCanTech-bugfix-build-ca-openssl-easersa-cnf'

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2022-12-21 21:16:32 +00:00
commit 4af00b38ce
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -1333,9 +1333,13 @@ Missing X509-type 'ca'"
Missing X509-type 'COMMON'"
# Check for insert-marker in ssl config file
if ! grep -q '^#%CA_X509_TYPES_EXTRA_EXTS%' "$EASYRSA_SSL_CONF"; then
die "\
The copy of openssl-easyrsa.cnf in use does not support X509-type 'ca'.
if grep -q '^#%CA_X509_TYPES_EXTRA_EXTS%' \
"$EASYRSA_SSL_CONF"
then
[ "$EASYRSA_BATCH" ] || print
else
warn "\
The openssl config file in use does not support X509-type 'ca'.
* $EASYRSA_SSL_CONF
Please update openssl-easyrsa.cnf to the latest official release."
fi