projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more cleanup of TLD
[mech_eap.orig]
/
mech_eap
/
util_tld.c
diff --git
a/mech_eap/util_tld.c
b/mech_eap/util_tld.c
index
a30f5f3
..
10e3359
100644
(file)
--- a/
mech_eap/util_tld.c
+++ b/
mech_eap/util_tld.c
@@
-62,7
+62,13
@@
static DWORD tlsIndex;
struct gss_eap_thread_local_data *
gssEapGetThreadLocalData(void)
{
- return TlsGetValue(tlsIndex);
+ struct gss_eap_thread_local_data *tld;
+
+ tld = TlsGetValue(tlsIndex);
+
+ GSSEAP_ASSERT(tld != NULL);
+
+ return tld;
}
BOOL WINAPI