changed ipsec.secrets keyword EC to ECDSA
authorTobias Brunner <tobias@strongswan.org>
Tue, 24 Jun 2008 06:57:47 +0000 (06:57 -0000)
committerTobias Brunner <tobias@strongswan.org>
Tue, 24 Jun 2008 06:57:47 +0000 (06:57 -0000)
src/charon/plugins/stroke/stroke_cred.c
testing/tests/openssl/ecdsa-certs/hosts/carol/etc/ipsec.secrets
testing/tests/openssl/ecdsa-certs/hosts/dave/etc/ipsec.secrets
testing/tests/openssl/ecdsa-certs/hosts/moon/etc/ipsec.secrets

index 368aea1..2235004 100644 (file)
@@ -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;
index 4bd16ab..4e53ef9 100644 (file)
@@ -1,3 +1,3 @@
 # /etc/ipsec.secrets - strongSwan IPsec secrets file
 
-: EC carolKey.pem "nH5ZQEWtku0RJEZ6"
+: ECDSA carolKey.pem "nH5ZQEWtku0RJEZ6"