projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
include com_err.h for error_message()
[mech_eap.git]
/
mech_eap
/
util_moonshot.c
diff --git
a/mech_eap/util_moonshot.c
b/mech_eap/util_moonshot.c
index
ce05322
..
68537a3
100644
(file)
--- a/
mech_eap/util_moonshot.c
+++ b/
mech_eap/util_moonshot.c
@@
-241,8
+241,7
@@
libMoonshotResolveInitiatorCred(OM_uint32 *minor,
blobLength = base64Decode(caCertificate, blobData);
- if ((blobLength <= 0) ||
- (blobLength < maxLength - 2)) {
+ if (blobLength <= 0) {
major = GSS_S_DEFECTIVE_CREDENTIAL;
*minor = GSSEAP_BAD_CACERTIFICATE;
GSSEAP_FREE(blobData);