projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When processing error tokens at the initiator, verify minor status
[mech_eap.orig]
/
init_sec_context.c
diff --git
a/init_sec_context.c
b/init_sec_context.c
index
a195815
..
bc3f554
100644
(file)
--- a/
init_sec_context.c
+++ b/
init_sec_context.c
@@
-616,7
+616,7
@@
eapGssSmInitError(OM_uint32 *minor,
major = load_uint32_be(&p[0]);
*minor = ERROR_TABLE_BASE_eapg + load_uint32_be(&p[4]);
- if (!GSS_ERROR(major)) {
+ if (!GSS_ERROR(major)
|| !IS_WIRE_ERROR(*minor)
) {
major = GSS_S_FAILURE;
*minor = GSSEAP_BAD_ERROR_TOKEN;
}