aboutsummaryrefslogtreecommitdiffstats
path: root/src/whack
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-06-12 19:59:35 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-06-12 19:59:49 +0200
commit11e6d28533221ed829fd0369b52c1c3957ca5219 (patch)
treeaf08ca2df8dc9d25e66e725fa0c2c769731a2c6f /src/whack
parenteca36f44de3344805707bf126f348ba3b6a290b1 (diff)
downloadstrongswan-11e6d28533221ed829fd0369b52c1c3957ca5219.tar.bz2
strongswan-11e6d28533221ed829fd0369b52c1c3957ca5219.tar.xz
pluto supports ECDSA authentication
Diffstat (limited to 'src/whack')
-rw-r--r--src/whack/whack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/whack/whack.c b/src/whack/whack.c
index 4c3083bee..dd7f7721c 100644
--- a/src/whack/whack.c
+++ b/src/whack/whack.c
@@ -1634,8 +1634,8 @@ int main(int argc, char **argv)
if (msg.policy & POLICY_OPPO)
{
- if ((msg.policy & (POLICY_PSK | POLICY_RSASIG)) != POLICY_RSASIG)
- diag("only RSASIG is supported for opportunism");
+ if ((msg.policy & (POLICY_PSK | POLICY_PUBKEY)) != POLICY_PUBKEY)
+ diag("only PUBKEY is supported for opportunism");
if ((msg.policy & POLICY_PFS) == 0)
diag("PFS required for opportunism");
if ((msg.policy & POLICY_ENCRYPT) == 0)