diff options
author | Martin Willi <martin@revosec.ch> | 2010-07-05 11:54:25 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-07-13 10:26:07 +0200 |
commit | 2ccc02a4fd67d60baac8e632a71eefa86eb559fc (patch) | |
tree | 654c6e24dfdcad0a19cfd5c53cde9b5ea155fe27 /src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c | |
parent | 2ca7db1337f22d754955e6b2c4eafa1bd330991a (diff) | |
download | strongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.bz2 strongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.xz |
Moved credential manager to libstrongswan
Diffstat (limited to 'src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c')
-rw-r--r-- | src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c b/src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c index 5228c6c73..3cd8d994c 100644 --- a/src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c +++ b/src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c @@ -614,8 +614,7 @@ static bool get_nt_hash(private_eap_mschapv2_t *this, identification_t *me, chunk_t password; /* try to find a stored NT_HASH first */ - shared = charon->credentials->get_shared(charon->credentials, - SHARED_NT_HASH, me, other); + shared = lib->credmgr->get_shared(lib->credmgr, SHARED_NT_HASH, me, other); if (shared ) { *nt_hash = chunk_clone(shared->get_key(shared)); @@ -624,8 +623,7 @@ static bool get_nt_hash(private_eap_mschapv2_t *this, identification_t *me, } /* fallback to plaintext password */ - shared = charon->credentials->get_shared(charon->credentials, - SHARED_EAP, me, other); + shared = lib->credmgr->get_shared(lib->credmgr, SHARED_EAP, me, other); if (shared) { password = ascii_to_unicode(shared->get_key(shared)); |