diff options
author | Martin Willi <martin@revosec.ch> | 2011-12-14 09:40:43 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:31:21 +0100 |
commit | 29101ce97817c8c4a2cac82cfd15a1ad47e8a282 (patch) | |
tree | 67e6e7a3d0b4babdf6f1d7205e72b71a34596be0 /src/libcharon/sa/authenticators/authenticator.c | |
parent | a6c328a6e9b865f51fb6a7129646552142157317 (diff) | |
download | strongswan-29101ce97817c8c4a2cac82cfd15a1ad47e8a282.tar.bz2 strongswan-29101ce97817c8c4a2cac82cfd15a1ad47e8a282.tar.xz |
Added a IKEv1 hybrid authenticator based on Pubkey/PSK authenticators
Diffstat (limited to 'src/libcharon/sa/authenticators/authenticator.c')
-rw-r--r-- | src/libcharon/sa/authenticators/authenticator.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcharon/sa/authenticators/authenticator.c b/src/libcharon/sa/authenticators/authenticator.c index f2319a420..73029b9e1 100644 --- a/src/libcharon/sa/authenticators/authenticator.c +++ b/src/libcharon/sa/authenticators/authenticator.c @@ -23,6 +23,7 @@ #include <sa/authenticators/eap_authenticator.h> #include <sa/authenticators/psk_v1_authenticator.h> #include <sa/authenticators/pubkey_v1_authenticator.h> +#include <sa/authenticators/hybrid_authenticator.h> #include <encoding/payloads/auth_payload.h> @@ -127,6 +128,11 @@ authenticator_t *authenticator_create_v1(ike_sa_t *ike_sa, bool initiator, return (authenticator_t*)pubkey_v1_authenticator_create(ike_sa, initiator, dh, dh_value, sa_payload, id_payload); + case AUTH_HYBRID_INIT_RSA: + case AUTH_HYBRID_RESP_RSA: + return (authenticator_t*)hybrid_authenticator_create(ike_sa, + initiator, dh, dh_value, sa_payload, + id_payload); default: return NULL; } |