projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db9baf
)
check we have an initiator credential
author
Luke Howard
<lukeh@padl.com>
Fri, 24 Sep 2010 12:02:29 +0000
(14:02 +0200)
committer
Luke Howard
<lukeh@padl.com>
Fri, 24 Sep 2010 12:02:29 +0000
(14:02 +0200)
init_sec_context.c
patch
|
blob
|
history
diff --git
a/init_sec_context.c
b/init_sec_context.c
index
e3b4d63
..
d538556
100644
(file)
--- a/
init_sec_context.c
+++ b/
init_sec_context.c
@@
-212,6
+212,14
@@
peerConfigInit(OM_uint32 *minor,
krb5_error_code code;
char *identity;
+ eapPeerConfig->identity = NULL;
+ eapPeerConfig->identity_len = 0;
+ eapPeerConfig->password = NULL;
+ eapPeerConfig->password_len = 0;
+
+ if (cred == GSS_C_NO_CREDENTIAL)
+ return GSS_S_NO_CRED;
+
GSSEAP_KRB_INIT(&krbContext);
eapPeerConfig->fragment_size = 1024;