diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-06-13 03:33:20 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-06-13 15:41:12 +0200 |
commit | bf4d2d13ffcd894c6e7765dbd366f1163c69c9e1 (patch) | |
tree | d234196cc004dec3482716d2b3a6b5425d8386ed /tests/cert-extensions | |
parent | 568656b1fcb60d451b4a5313876ef0b96ae8bbfd (diff) |
Pass `-in /dev/stdin` option to openssl(1) to avoid warning with recent versions.
OpenSSL 3.2 from Debian sid spews
Warning: Reading certificate from stdin since no -in or -new option is given
without an explicit `-in /dev/stdin`.
Diffstat (limited to 'tests/cert-extensions')
-rw-r--r-- | tests/cert-extensions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-extensions b/tests/cert-extensions index bc40298..d7e7855 100644 --- a/tests/cert-extensions +++ b/tests/cert-extensions @@ -4,7 +4,7 @@ x509_check() { local cert="$1" ext out out="$(mktemp --tmpdir)" ext="basicConstraints,subjectAltName,keyUsage,extendedKeyUsage,tlsfeature" - openssl x509 -noout -subject -ext "$ext" -nameopt compat <"$cert" >"$out" + openssl x509 -in "$cert" -noout -subject -ext "$ext" -nameopt compat >"$out" diff --unified --color=auto -b --label="a/${cert#/}" --label="b/${cert#/}" -- - "$out" } |