projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
call eap_mech constructors from DllMain
[moonshot.git]
/
moonshot
/
mech_eap
/
util_tld.c
diff --git
a/moonshot/mech_eap/util_tld.c
b/moonshot/mech_eap/util_tld.c
index
38e6a10
..
2e1ddfa
100644
(file)
--- a/
moonshot/mech_eap/util_tld.c
+++ b/
moonshot/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. */
switch (reason) {
case DLL_PROCESS_ATTACH:
/* Allocate a TLS index. */
+ gssEapInitiatorInit();
tlsIndex = TlsAlloc();
if (tlsIndex == TLS_OUT_OF_INDEXES)
return FALSE;
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);
destroyThreadLocalData(tlsData);
/* Release the TLS index. */
TlsFree(tlsIndex);
+ gssEapFinalize();
break;
default:
break;
break;
default:
break;