aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tls
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-03-06 14:52:56 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-03-06 15:09:05 +0100
commita4accc44ac1fddffba31d9bf52b76738a3562057 (patch)
treef6b05832512addfa530726f154dd3a413325243a /tests/tls
parenteb254348085047702ee37e405d171d894dc5ffff (diff)
tests/*/t: Explicitly pass `-in /dev/stdin` to openssl(1).HEADmaster
Diffstat (limited to 'tests/tls')
-rw-r--r--tests/tls/t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tls/t b/tests/tls/t
index c78925d..aee0678 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 \
+ | 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