summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
385176f)
Eliminates radius dependency from windows port.
* Only return error codes that the initiator could have caused,
* to avoid information leakage.
*/
* Only return error codes that the initiator could have caused,
* to avoid information leakage.
*/
+#ifdef GSSEAP_ENABLE_ACCEPTOR
if (IS_RADIUS_ERROR(minorStatus)) {
/* Squash RADIUS error codes */
minorStatus = GSSEAP_RADIUS_PROT_FAILURE;
if (IS_RADIUS_ERROR(minorStatus)) {
/* Squash RADIUS error codes */
minorStatus = GSSEAP_RADIUS_PROT_FAILURE;
- } else if (!IS_WIRE_ERROR(minorStatus)) {
+ } else
+#endif
+ if (!IS_WIRE_ERROR(minorStatus)) {
/* Don't return non-wire error codes */
return GSS_S_COMPLETE;
}
/* Don't return non-wire error codes */
return GSS_S_COMPLETE;
}