]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
revert last fix
authorneilpang <github@byneil.com>
Sat, 17 Dec 2016 12:51:00 +0000 (20:51 +0800)
committerneilpang <github@byneil.com>
Sat, 17 Dec 2016 12:51:00 +0000 (20:51 +0800)
acme.sh

diff --git a/acme.sh b/acme.sh
index 3512b8d62167ae5afbc4907354c76e2b93e143dd..c6af629a3210e4c6468d13752ee2888dd682b451 100755 (executable)
--- a/acme.sh
+++ b/acme.sh
@@ -933,7 +933,7 @@ _calcjwk() {
 
     modulus=$($OPENSSL_BIN rsa -in "$keyfile" -modulus -noout | cut -d '=' -f 2)
     _debug3 modulus "$modulus"
-    n="$(printf "%s" "$modulus" | _h2b | _base64 | tr -d '\r\n' | _urlencode)"
+    n="$(printf "%s" "$modulus" | _h2b | _base64 | _urlencode)"
     _debug3 n "$n"
 
     jwk='{"e": "'$e'", "kty": "RSA", "n": "'$n'"}'