From 7ef2302044bdf02157c8c6c70c9d3da60291aaa6 Mon Sep 17 00:00:00 2001 From: Sid Srinivas Date: Tue, 17 Mar 2020 07:46:03 +0530 Subject: [PATCH] Provided support for ED curves --- easyrsa3/easyrsa | 2 -- 1 file changed, 2 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index b63e4ad..3dc0ead 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -410,7 +410,6 @@ EASYRSA_PKI env-var undefined" # Verify supplied curve exists and generate curve file if needed verify_curve_ec() { - if ! "$EASYRSA_OPENSSL" ecparam -name "$EASYRSA_CURVE" > /dev/null; then die "\ Curve $EASYRSA_CURVE not found. Run openssl ecparam -list_curves to show a @@ -435,7 +434,6 @@ $out" # Verify if Edward Curve exists verify_curve_ed() { - if [ "ed25519" = "$EASYRSA_CURVE" ] && "$EASYRSA_OPENSSL" genpkey -algorithm ED25519 > /dev/null; then return 0 elif [ "ed448" = "$EASYRSA_CURVE" ] && "$EASYRSA_OPENSSL" genpkey -algorithm ED448 > /dev/null; then