Set *conf_state on successful return from
authorGreg Hudson <ghudson@mit.edu>
Tue, 26 Oct 2010 14:17:38 +0000 (14:17 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 26 Oct 2010 14:17:38 +0000 (14:17 +0000)
gss_krb5int_make_seal_token_v3_iov, fixing a case where it wasn't
always set by gss_wrap_iov.  Patch from aberry@likewise.com.

ticket: 6809
target_version: 1.9
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24483 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/k5sealv3iov.c

index f977d9b194d52db472c40bd31a2495d284fa73a4..5ccee2cd77b5f9b8b4a9ff47228d33e5a053391a 100644 (file)
@@ -268,6 +268,8 @@ gss_krb5int_make_seal_token_v3_iov(krb5_context context,
     }
 
     code = 0;
+    if (conf_state != NULL)
+        *conf_state = conf_req_flag;
 
 cleanup:
     if (code != 0)