diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/x509_callbacks.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/x509_callbacks.sh b/tests/x509_callbacks.sh index 7cc1376..a48e638 100755 --- a/tests/x509_callbacks.sh +++ b/tests/x509_callbacks.sh | |||
| @@ -27,12 +27,14 @@ fi | |||
| 27 | case "$srcdir" in | 27 | case "$srcdir" in |
| 28 | /*) | 28 | /*) |
| 29 | certs_path="$srcdir/certs" | 29 | certs_path="$srcdir/certs" |
| 30 | ca_file="$srcdir/../cert.pem" | ||
| 30 | callback_check="$srcdir/callback.pl" | 31 | callback_check="$srcdir/callback.pl" |
| 31 | make_dir_roots="$srcdir/make-dir-roots.pl" | 32 | make_dir_roots="$srcdir/make-dir-roots.pl" |
| 32 | openssl_conf="$srcdir/openssl.cnf" | 33 | openssl_conf="$srcdir/openssl.cnf" |
| 33 | ;; | 34 | ;; |
| 34 | *) | 35 | *) |
| 35 | certs_path="`pwd`/$srcdir/certs" | 36 | certs_path="`pwd`/$srcdir/certs" |
| 37 | ca_file="`pwd`/$srcdir/../cert.pem" | ||
| 36 | callback_check="`pwd`/$srcdir/callback.pl" | 38 | callback_check="`pwd`/$srcdir/callback.pl" |
| 37 | make_dir_roots="`pwd`/$srcdir/make-dir-roots.pl" | 39 | make_dir_roots="`pwd`/$srcdir/make-dir-roots.pl" |
| 38 | openssl_conf="`pwd`/$srcdir/openssl.cnf" | 40 | openssl_conf="`pwd`/$srcdir/openssl.cnf" |
| @@ -87,6 +89,6 @@ mkdir "$workdir" | |||
| 87 | cd "$workdir" | 89 | cd "$workdir" |
| 88 | "$callback_bin" "$certs_path" | 90 | "$callback_bin" "$certs_path" |
| 89 | "$PERL" "$callback_check" callback.out | 91 | "$PERL" "$callback_check" callback.out |
| 90 | "$callbackfailures_bin" "$certs_path" | 92 | "$callbackfailures_bin" "$certs_path" "$ca_file" |
| 91 | "$expirecallback_bin" "$certs_path" | 93 | "$expirecallback_bin" "$certs_path" |
| 92 | ) | 94 | ) |
