git-svn-id: svn://anonsvn.mit.edu/krb5/branches/raeburn-gssapi-cfx@15855
dc483132-0cff-0310-8789-
dd5450dbe970
return(GSS_S_NO_CONTEXT);
}
-#if 1
if (ctx->proto == 1) {
/* No pseudo-ASN.1 wrapper overhead, so no sequence length and
OID. */
else
sz -= (16 + ctx->cksum_size);
}
+
+ /* While testing only! */
+ if (sz < 65536)
+ sz = 0;
+ else
+ sz -= 65535;
+
*max_input_size = sz;
*minor_status = 0;
return GSS_S_COMPLETE;
}
-#endif
/* Calculate the token size and subtract that from the output size */
overhead = 7 + ctx->mech_used->length;