tls: Make rm safer

Not really practically relevant, but fixes shellcheck failure

> SC2035 (info): Use ./*glob* or -- *glob* so names with dashes won't become options.
This commit is contained in:
Martin Pitt
2026-04-22 07:21:31 +02:00
committed by Martin Pitt
parent fbc8363eca
commit 5a1cb2d59c
+1 -1
View File
@@ -32,7 +32,7 @@ touch index.txt
openssl ca -batch -config ca.conf -in alice.csr -days 1 -notext -extensions usr_cert -out alice-expired.pem -subj "/CN=alice/DC=COCKPIT/DC=LAN/"
rm -r certs
rm index.txt* serial* *.csr
rm -- index.txt* serial* *.csr
# Update fingerprints in testing.h
update_fingerprint() { # args: MACRO_NAME CERT_FILE