the initial context establishment. [krb5-libs/352]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10026
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Mar 25 01:00:55 1997 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * init_sec_context.c (krb5_gss_init_sec_context): A zero-length
+ token should be treated like a GSS_C_NO_BUFFER during the
+ initial context establishment. [krb5-libs/352]
+
Sat Feb 22 18:59:42 1997 Richard Basch <basch@lehman.com>
* Makefile.in: Use some of the new library list build rules in
return(GSS_S_NO_CRED);
}
- /* complain if the input token is nonnull */
+ /* complain if the input token is non-null */
- if (input_token != GSS_C_NO_BUFFER) {
+ if (input_token != GSS_C_NO_BUFFER && input_token->length != 0) {
*minor_status = 0;
return(GSS_S_DEFECTIVE_TOKEN);
}