aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/ipsec_doi.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-06-13 15:16:49 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-06-13 15:16:49 +0200
commitc71f21262776a65447f4a7178a6e12f07bfb4f68 (patch)
tree9b274eb4aa31e85e4492320058733128dda42479 /src/pluto/ipsec_doi.c
parent1930cb22ff2a6fecadcd7359a0c0b9c8a17ebfda (diff)
downloadstrongswan-c71f21262776a65447f4a7178a6e12f07bfb4f68.tar.bz2
strongswan-c71f21262776a65447f4a7178a6e12f07bfb4f68.tar.xz
renamed OAKLEY_ECDSA_512 to OAKLEY_ECDSA_512
Diffstat (limited to 'src/pluto/ipsec_doi.c')
-rw-r--r--src/pluto/ipsec_doi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pluto/ipsec_doi.c b/src/pluto/ipsec_doi.c
index fd97ddde6..929768ee9 100644
--- a/src/pluto/ipsec_doi.c
+++ b/src/pluto/ipsec_doi.c
@@ -1210,7 +1210,7 @@ static bool generate_skeyids_iv(struct state *st)
case OAKLEY_RSA_SIG:
case OAKLEY_ECDSA_256:
case OAKLEY_ECDSA_384:
- case OAKLEY_ECDSA_512:
+ case OAKLEY_ECDSA_521:
case XAUTHInitRSA:
case XAUTHRespRSA:
if (!skeyid_digisig(st))
@@ -1377,7 +1377,7 @@ static bool generate_skeyids_iv(struct state *st)
case OAKLEY_ECDSA_384:
prf_alg = PRF_HMAC_SHA2_384;
break;
- case OAKLEY_ECDSA_512:
+ case OAKLEY_ECDSA_521:
prf_alg = PRF_HMAC_SHA2_512;
break;
default:
@@ -2797,7 +2797,7 @@ static bool uses_pubkey_auth(int auth)
case OAKLEY_ECDSA_SIG:
case OAKLEY_ECDSA_256:
case OAKLEY_ECDSA_384:
- case OAKLEY_ECDSA_512:
+ case OAKLEY_ECDSA_521:
case XAUTHInitRSA:
case XAUTHRespRSA:
return TRUE;
@@ -3667,7 +3667,7 @@ main_id_and_auth(struct msg_digest *md
case OAKLEY_ECDSA_256:
case OAKLEY_ECDSA_384:
- case OAKLEY_ECDSA_512:
+ case OAKLEY_ECDSA_521:
r = check_signature(KEY_ECDSA, &peer, st, hash,
&md->chain[ISAKMP_NEXT_SIG]->pbs,
#ifdef USE_KEYRR