aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tls/t
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2025-04-26 18:24:46 +0200
committerGuilhem Moulin <guilhem@debian.org>2025-04-26 18:24:46 +0200
commit822f251cd94468a2ab305f46078c9f3e38b68b5f (patch)
tree2ec291885cc3db4c1f15445557b0f57c223f6931 /tests/tls/t
parent6efe479ce30432045a099c4624455f152fa19ba3 (diff)
parentd3bcc2e368e7399af664812cbd67df1dc827d58b (diff)
Merge tag 'v0.5.8' into debian/latest
Release version 0.5.8
Diffstat (limited to 'tests/tls/t')
-rw-r--r--tests/tls/t6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tls/t b/tests/tls/t
index a674b28..fa59ae5 100644
--- a/tests/tls/t
+++ b/tests/tls/t
@@ -1,5 +1,5 @@
-X509_SHA256="$(doveconf -c "$HOME_remote/.dovecot/config" -hx ssl_cert \
- | openssl x509 -noout -fingerprint -sha256 \
+ssl_server_cert_file="$(doveconf -c "$HOME_remote/.dovecot/config" -hx ssl_server/cert_file)"
+X509_SHA256="$(openssl x509 -in "$ssl_server_cert_file" -noout -fingerprint -sha256 \
| sed -rn "/^.*=\\s*/ {s///p;q}" | tr -d : | tr "[A-Z]" "[a-z]")"
for ((i = 0; i < 32; i++)); do
@@ -14,4 +14,4 @@ grep "^remote: SSL cipher: " <"$STDERR" || error
check_mailbox_status "INBOX"
-# vim: set filetype=sh :
+# vim: set filetype=bash :