Browse Source

bug fix to respect the --accountkeylength flag (#219)

Thanks.
bruncsak 9 years ago
parent
commit
2ce87fe264
1 changed files with 4 additions and 2 deletions
  1. 4 2
      acme.sh

+ 4 - 2
acme.sh

@@ -2633,11 +2633,13 @@ _process() {
         
     --keylength|-k)
         _keylength="$2"
-        accountkeylength="$2"
+        if [ "$_accountkeylength" = "no" ] ; then
+          _accountkeylength="$2"
+        fi
         shift
         ;;
     --accountkeylength|-ak)
-        accountkeylength="$2"
+        _accountkeylength="$2"
         shift
         ;;