[krbdev.mit.edu #6809] gss_krb5int_make_seal_token_v3_iov fails to set conf_state

Arlene Berry via RT rt-comment at krbdev.mit.edu
Thu Oct 21 15:19:10 EDT 2010


gss_krb5int_make_seal_token_v3_iov fails to set conf_state which results
in gss_wrap_iov returning an incorrect value.  This fixed it for us:

Index: src/lib/gssapi/krb5/k5sealv3iov.c
===================================================================
--- src/lib/gssapi/krb5/k5sealv3iov.c	(revision 24468)
+++ src/lib/gssapi/krb5/k5sealv3iov.c	(working copy)
@@ -269,6 +269,9 @@
 
     code = 0;
 
+    if (conf_state != NULL)
+        *conf_state = conf_req_flag;
+
 cleanup:
     if (code != 0)
         kg_release_iov(iov, iov_count);





More information about the krb5-bugs mailing list