diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2022-02-24 23:59:37 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2022-02-25 00:06:25 +0100 |
commit | 58c2c80b585fe51dea56ca13776b51f44ad68463 (patch) | |
tree | 0593108718ac87596f529d3feddd75cd875956f4 /tests/certs/generate | |
parent | 90d0b00313686a8e6a05e807c24d5c460718ba41 (diff) |
tests/certs/generate: Use custom openssl.cnf.
To avoid depending on the system default.
Diffstat (limited to 'tests/certs/generate')
-rwxr-xr-x | tests/certs/generate | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/certs/generate b/tests/certs/generate index 36fce8b..8e9c451 100755 --- a/tests/certs/generate +++ b/tests/certs/generate @@ -8,6 +8,9 @@ BASEDIR="$(dirname -- "$0")" OU="InterIMAP test suite" cd "$BASEDIR" +OPENSSL_CONF="./openssl.cnf" +export OPENSSL_CONF + cadir="$(mktemp --tmpdir --directory)" trap 'rm -rf -- "$cadir"' EXIT INT TERM genpkey() { |