Skip to content

Commit

Permalink
(xmlsec-nss) Disable NSS policies in tests (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh123 authored Dec 21, 2023
1 parent f44dab7 commit bb9185d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testrun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,14 @@ else
diff_param=-u
fi

#
# NSS specific:
# - Cert name we need to delete for tests to work
# - Ignore NSS system policies in tests since we have legacy algorithms and small key sizes
#
NSS_TEST_CERT_NICKNAME="NSS Certificate DB:Aleksey Sanin - XML Security Library (http://www.aleksey.com/xmlsec)"
export NSS_IGNORE_SYSTEM_POLICY=1


cleanupNssCerts() {
echo "certutil -D -n \"$NSS_TEST_CERT_NICKNAME\" -d \"$crypto_config_folder\"" >> $logfile
Expand Down

0 comments on commit bb9185d

Please sign in to comment.