diff options
Diffstat (limited to 'src/libcharon/sa/authenticator.c')
-rw-r--r-- | src/libcharon/sa/authenticator.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libcharon/sa/authenticator.c b/src/libcharon/sa/authenticator.c index d7a4b3eef..ea1889a61 100644 --- a/src/libcharon/sa/authenticator.c +++ b/src/libcharon/sa/authenticator.c @@ -45,6 +45,8 @@ ENUM_NEXT(auth_method_names, AUTH_XAUTH_INIT_PSK, AUTH_HYBRID_RESP_RSA, AUTH_ECD ); ENUM_END(auth_method_names, AUTH_HYBRID_RESP_RSA); +#ifdef USE_IKEV2 + /** * Described in header. */ @@ -106,6 +108,10 @@ authenticator_t *authenticator_create_verifier( } } +#endif /* USE_IKEV2 */ + +#ifdef USE_IKEV1 + /** * Described in header. */ @@ -137,3 +143,5 @@ authenticator_t *authenticator_create_v1(ike_sa_t *ike_sa, bool initiator, return NULL; } } + +#endif /* USE_IKEV1 */ |