]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
bug fix to respect the --accountkeylength flag (#219)
authorbruncsak <bruncsak@users.noreply.github.com>
Thu, 23 Jun 2016 12:11:43 +0000 (14:11 +0200)
committerneil <github@byneil.com>
Thu, 23 Jun 2016 12:11:43 +0000 (20:11 +0800)
Thanks.

acme.sh

diff --git a/acme.sh b/acme.sh
index 68ffad0482d35b64ba394387552264507ed678c2..6aa7611894316b8b7183dc75fa886d8201a1a081 100755 (executable)
--- a/acme.sh
+++ b/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
         ;;