summaryrefslogtreecommitdiff
path: root/src/libcharon/plugins/eap_gtc/eap_gtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/plugins/eap_gtc/eap_gtc.c')
-rw-r--r--src/libcharon/plugins/eap_gtc/eap_gtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/eap_gtc/eap_gtc.c b/src/libcharon/plugins/eap_gtc/eap_gtc.c
index c7f55fa70..f641ad13a 100644
--- a/src/libcharon/plugins/eap_gtc/eap_gtc.c
+++ b/src/libcharon/plugins/eap_gtc/eap_gtc.c
@@ -168,8 +168,8 @@ static status_t process_peer(private_eap_gtc_t *this,
chunk_t key;
size_t len;
- shared = charon->credentials->get_shared(charon->credentials, SHARED_EAP,
- this->peer, this->server);
+ shared = lib->credmgr->get_shared(lib->credmgr, SHARED_EAP,
+ this->peer, this->server);
if (shared == NULL)
{
DBG1(DBG_IKE, "no EAP key found for '%Y' - '%Y'",