aboutsummaryrefslogtreecommitdiff
path: root/easy-rsa/2.0/pkitool
diff options
context:
space:
mode:
Diffstat (limited to 'easy-rsa/2.0/pkitool')
-rwxr-xr-xeasy-rsa/2.0/pkitool5
1 files changed, 5 insertions, 0 deletions
diff --git a/easy-rsa/2.0/pkitool b/easy-rsa/2.0/pkitool
index 5f95162..4e0442d 100755
--- a/easy-rsa/2.0/pkitool
+++ b/easy-rsa/2.0/pkitool
@@ -118,6 +118,11 @@ usage()
echo " ./$PROGNAME client-new"
}
+# Set tool defaults
+[ -n "$OPENSSL" ] || export OPENSSL="openssl"
+[ -n "$PKCS11TOOL" ] || export PKCS11TOOL="pkcs11-tool"
+[ -n "$GREP" ] || export GREP="grep"
+
# Set defaults
DO_REQ="1"
REQ_EXT=""