Skip to content

Commit 40f4490

Browse files
committed
Minor tweak
1 parent 88dd878 commit 40f4490

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

csr-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/bin/bash
22

3-
crt="${1}"
3+
csr="${1}"
44
shift 1
55

6-
if [ -z "${crt}" ]
6+
if [ -z "${csr}" ]
77
then
88
1>&2 echo "usage:"
9-
1>&2 echo " ${0} <crt> [<option>]"
9+
1>&2 echo " ${0} <csr> [<option>]"
1010
exit 1
1111
fi
1212

1313
set -x
1414

15-
exec openssl req -text -noout -verify -in "$crt"
15+
exec openssl req -text -noout -verify -in "$csr"

0 commit comments

Comments
 (0)