[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to support RRC longer than message
Here's a conformance bug fix to lib/gssapi/cfx.c to support rrc counts
longer than the message per section 4.2.5 of the gssapi-cfx draft and
ongoing discussion on the IETF list.
--- cfx.c~ 2003-12-09 15:53:39.000000000 -0500
+++ cfx.c 2003-12-10 14:39:32.000000000 -0500
@@ -152,14 +152,11 @@
size_t left;
char buf[256];
+ rrc = rrc%len;
if (rrc == 0) {
return 0;
}
- if (len < rrc) {
- return ERANGE;
- }
-
left = len - rrc;
if (rrc <= sizeof(buf)) {