svn rev #21608: branches/mskrb-integ/src/lib/gssapi/krb5/
lhoward@MIT.EDU
lhoward at MIT.EDU
Sat Dec 27 00:40:19 EST 2008
http://src.mit.edu/fisheye/changelog/krb5/?cs=21608
Commit By: lhoward
Log Message:
cleanup
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-27 05:38:53 UTC (rev 21607)
+++ branches/mskrb-integ/src/lib/gssapi/krb5/k5unsealiov.c 2008-12-27 05:40:18 UTC (rev 21608)
@@ -270,7 +270,8 @@
* data contain the pad length. kg_fixup_padding_iov() will find
* this and fixup the last data IOV appropriately.
*/
- if ((ctx->gss_flags & GSS_C_DCE_STYLE) == 0) {
+ if (toktype == KG_TOK_WRAP_MSG &&
+ (ctx->gss_flags & GSS_C_DCE_STYLE) == 0) {
retval = kg_fixup_padding_iov(&code, iov, iov_count);
if (retval != GSS_S_COMPLETE)
goto cleanup;
More information about the cvs-krb5
mailing list