X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Futil_tld.c;h=2e1ddfac1effa1c7a326b49ba6a33f89395919ff;hb=7a796448997e185aa509ae195c719f834ed58500;hp=38e6a10b3694da9c77476d7bbd71e455d70999e0;hpb=050ab60a59bd3c6fb6ad974cf5cf09f10a3917ff;p=mech_eap.git diff --git a/mech_eap/util_tld.c b/mech_eap/util_tld.c index 38e6a10..2e1ddfa 100644 --- a/mech_eap/util_tld.c +++ b/mech_eap/util_tld.c @@ -74,6 +74,7 @@ DllMain(HINSTANCE hDLL, /* DLL module handle */ switch (reason) { case DLL_PROCESS_ATTACH: /* Allocate a TLS index. */ + gssEapInitiatorInit(); tlsIndex = TlsAlloc(); if (tlsIndex == TLS_OUT_OF_INDEXES) return FALSE; @@ -99,6 +100,7 @@ DllMain(HINSTANCE hDLL, /* DLL module handle */ destroyThreadLocalData(tlsData); /* Release the TLS index. */ TlsFree(tlsIndex); + gssEapFinalize(); break; default: break;