Ed25519 support for mkcert.sh

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3585)
This commit is contained in:
Dr. Stephen Henson 2017-06-14 16:37:06 +01:00
parent b2021556e4
commit bc88fc7928

View File

@ -49,6 +49,7 @@ key() {
ec) args=("${args[@]}" -pkeyopt "ec_paramgen_curve:$bits") ec) args=("${args[@]}" -pkeyopt "ec_paramgen_curve:$bits")
args=("${args[@]}" -pkeyopt ec_param_enc:named_curve);; args=("${args[@]}" -pkeyopt ec_param_enc:named_curve);;
dsa) args=(-paramfile "$bits");; dsa) args=(-paramfile "$bits");;
ed25519) ;;
*) printf "Unsupported key algorithm: %s\n" "$alg" >&2; return 1;; *) printf "Unsupported key algorithm: %s\n" "$alg" >&2; return 1;;
esac esac
stderr_onerror \ stderr_onerror \