svn rev #21539: branches/mskrb-integ/src/lib/gssapi/krb5/

lhoward@MIT.EDU lhoward at MIT.EDU
Thu Dec 18 09:34:01 EST 2008


http://src.mit.edu/fisheye/changelog/krb5/?cs=21539
Commit By: lhoward
Log Message:
Relax requirement padding buffer be present; if the caller knows CFX
will be used, it's safe to omit.



Changed Files:
U   branches/mskrb-integ/src/lib/gssapi/krb5/k5unsealiov.c
Modified: branches/mskrb-integ/src/lib/gssapi/krb5/k5unsealiov.c
===================================================================
--- branches/mskrb-integ/src/lib/gssapi/krb5/k5unsealiov.c	2008-12-18 14:22:21 UTC (rev 21538)
+++ branches/mskrb-integ/src/lib/gssapi/krb5/k5unsealiov.c	2008-12-18 14:33:58 UTC (rev 21539)
@@ -344,11 +344,6 @@
     }
 
     padding = kg_locate_iov(iov, iov_count, GSS_IOV_BUFFER_TYPE_PADDING);
-    if (padding == NULL && (ctx->gss_flags & GSS_C_DCE_STYLE) == 0) {
-	*minor_status = EINVAL;
-	return GSS_S_FAILURE;
-    }
-
     trailer = kg_locate_iov(iov, iov_count, GSS_IOV_BUFFER_TYPE_TRAILER);
 
     ptr = (unsigned char *)header->buffer.value;




More information about the cvs-krb5 mailing list