projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bb3ba6e
)
call gssEapCanonicalizeOid, gssEapInternalizeOid is no longer public
author
Luke Howard
<lukeh@padl.com>
Wed, 16 Mar 2011 04:39:12 +0000
(15:39 +1100)
committer
Luke Howard
<lukeh@padl.com>
Wed, 16 Mar 2011 04:39:12 +0000
(15:39 +1100)
mech_eap/util_context.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_context.c
b/mech_eap/util_context.c
index
03bad1c
..
0396e26
100644
(file)
--- a/
mech_eap/util_context.c
+++ b/
mech_eap/util_context.c
@@
-192,16
+192,9
@@
gssEapVerifyToken(OM_uint32 *minor,
return major;
if (ctx->mechanismUsed == GSS_C_NO_OID) {
return major;
if (ctx->mechanismUsed == GSS_C_NO_OID) {
- if (!gssEapIsConcreteMechanismOid(oid)) {
- *minor = GSSEAP_WRONG_MECH;
- return GSS_S_BAD_MECH;
- }
-
- if (!gssEapInternalizeOid(oid, &ctx->mechanismUsed)) {
- major = duplicateOid(minor, oid, &ctx->mechanismUsed);
- if (GSS_ERROR(major))
- return major;
- }
+ major = gssEapCanonicalizeOid(minor, oid, 0, &ctx->mechanismUsed);
+ if (GSS_ERROR(major))
+ return major;
}
innerInputToken->length = bodySize;
}
innerInputToken->length = bodySize;