aboutsummaryrefslogtreecommitdiffstats
path: root/tests/starttls/t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/starttls/t')
-rw-r--r--tests/starttls/t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/starttls/t b/tests/starttls/t
index 668419f..7b76469 100644
--- a/tests/starttls/t
+++ b/tests/starttls/t
@@ -1,5 +1,5 @@
X509_SHA256="$(doveconf -c "$HOME_remote/.dovecot/config" -hx ssl_cert \
- | openssl x509 -noout -fingerprint -sha256 \
+ | openssl x509 -in /dev/stdin -noout -fingerprint -sha256 \
| sed -rn "/^.*=\\s*/ {s///p;q}" | tr -d : | tr "[A-Z]" "[a-z]")"
for ((i = 0; i < 32; i++)); do