]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix argument type in kg_unseal_v1
authorGreg Hudson <ghudson@mit.edu>
Fri, 15 Mar 2013 06:16:39 +0000 (02:16 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 15 Mar 2013 06:16:39 +0000 (02:16 -0400)
The caller of kg_unseal_v1 passes a gss_qop_t * for the qop_state
parameter, so make it use that type instead of an int *.  Noted by
David Benjamin <davidben@mit.edu>.

src/lib/gssapi/krb5/k5unseal.c

index fa9a3cb1676d43a7efaa545553cccda2ec04b2a0..aae74fcd11c85b4c32b2753850d09b5db859b296 100644 (file)
@@ -67,7 +67,7 @@ kg_unseal_v1(context, minor_status, ctx, ptr, bodysize, message_buffer,
     int bodysize;
     gss_buffer_t message_buffer;
     int *conf_state;
-    int *qop_state;
+    gss_qop_t *qop_state;
     int toktype;
 {
     krb5_error_code code;