Browse Source
Merge pull request #3423 from ghen2/dev
No need to include EC parameters explicitly with the private key.
pull/3430/head
neil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
acme.sh
|
|
@ -1124,7 +1124,7 @@ _createkey() { |
|
|
|
|
|
|
|
if _isEccKey "$length"; then |
|
|
|
_debug "Using ec name: $eccname" |
|
|
|
if _opkey="$(${ACME_OPENSSL_BIN:-openssl} ecparam -name "$eccname" -genkey 2>/dev/null)"; then |
|
|
|
if _opkey="$(${ACME_OPENSSL_BIN:-openssl} ecparam -name "$eccname" -noout -genkey 2>/dev/null)"; then |
|
|
|
echo "$_opkey" >"$f" |
|
|
|
else |
|
|
|
_err "error ecc key name: $eccname" |
|
|
|