From ad4d3f81c17f661ed0d970f4182911d1d181c150 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 24 Jun 2008 06:57:47 +0000 Subject: [PATCH] changed ipsec.secrets keyword EC to ECDSA --- src/charon/plugins/stroke/stroke_cred.c | 2 +- testing/tests/openssl/ecdsa-certs/hosts/carol/etc/ipsec.secrets | 2 +- testing/tests/openssl/ecdsa-certs/hosts/dave/etc/ipsec.secrets | 2 +- testing/tests/openssl/ecdsa-certs/hosts/moon/etc/ipsec.secrets | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/charon/plugins/stroke/stroke_cred.c b/src/charon/plugins/stroke/stroke_cred.c index 368aea1..2235004 100644 --- a/src/charon/plugins/stroke/stroke_cred.c +++ b/src/charon/plugins/stroke/stroke_cred.c @@ -733,7 +733,7 @@ static void load_secrets(private_stroke_cred_t *this) DBG1(DBG_CFG, "line %d: missing token", line_nr); goto error; } - if (match("RSA", &token) || match("EC", &token)) + if (match("RSA", &token) || match("ECDSA", &token)) { char path[PATH_MAX]; chunk_t filename; diff --git a/testing/tests/openssl/ecdsa-certs/hosts/carol/etc/ipsec.secrets b/testing/tests/openssl/ecdsa-certs/hosts/carol/etc/ipsec.secrets index 4bd16ab..4e53ef9 100644 --- a/testing/tests/openssl/ecdsa-certs/hosts/carol/etc/ipsec.secrets +++ b/testing/tests/openssl/ecdsa-certs/hosts/carol/etc/ipsec.secrets @@ -1,3 +1,3 @@ # /etc/ipsec.secrets - strongSwan IPsec secrets file -: EC carolKey.pem "nH5ZQEWtku0RJEZ6" +: ECDSA carolKey.pem "nH5ZQEWtku0RJEZ6" diff --git a/testing/tests/openssl/ecdsa-certs/hosts/dave/etc/ipsec.secrets b/testing/tests/openssl/ecdsa-certs/hosts/dave/etc/ipsec.secrets index 2ec2ca3..ebd3a28 100644 --- a/testing/tests/openssl/ecdsa-certs/hosts/dave/etc/ipsec.secrets +++ b/testing/tests/openssl/ecdsa-certs/hosts/dave/etc/ipsec.secrets @@ -1,3 +1,3 @@ # /etc/ipsec.secrets - strongSwan IPsec secrets file -: EC daveKey.pem +: ECDSA daveKey.pem diff --git a/testing/tests/openssl/ecdsa-certs/hosts/moon/etc/ipsec.secrets b/testing/tests/openssl/ecdsa-certs/hosts/moon/etc/ipsec.secrets index fc4b68c..1ef3ecc 100644 --- a/testing/tests/openssl/ecdsa-certs/hosts/moon/etc/ipsec.secrets +++ b/testing/tests/openssl/ecdsa-certs/hosts/moon/etc/ipsec.secrets @@ -1,3 +1,3 @@ # /etc/ipsec.secrets - strongSwan IPsec secrets file -: EC moonKey.pem +: ECDSA moonKey.pem -- 2.7.4