1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-13 17:33:02 +00:00

Merge pull request #648 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/614
This commit is contained in:
neil
2017-02-20 19:11:22 +08:00
committed by GitHub
+1 -1
View File
@@ -1088,7 +1088,7 @@ _readKeyLengthFromCSR() {
echo "$_outcsr" | _egrep_o "^ *ASN1 OID:.*" | cut -d ':' -f 2 | tr -d ' '
else
_debug "RSA CSR"
echo "$_outcsr" | _egrep_o "^ *Public.Key:.*" | cut -d '(' -f 2 | cut -d ' ' -f 1
echo "$_outcsr" | _egrep_o "(^ *|^RSA )Public.Key:.*" | cut -d '(' -f 2 | cut -d ' ' -f 1
fi
}