krb5 commit: Fix argument type in kg_unseal_v1

Greg Hudson ghudson at MIT.EDU
Fri Mar 15 02:32:16 EDT 2013


https://github.com/krb5/krb5/commit/54d91d0666ac7539b0a8fe26fc4cb795ade1a042
commit 54d91d0666ac7539b0a8fe26fc4cb795ade1a042
Author: Greg Hudson <ghudson at mit.edu>
Date:   Fri Mar 15 02:16:39 2013 -0400

    Fix argument type in kg_unseal_v1
    
    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 at mit.edu>.

 src/lib/gssapi/krb5/k5unseal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lib/gssapi/krb5/k5unseal.c b/src/lib/gssapi/krb5/k5unseal.c
index fa9a3cb..aae74fc 100644
--- a/src/lib/gssapi/krb5/k5unseal.c
+++ b/src/lib/gssapi/krb5/k5unseal.c
@@ -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;


More information about the cvs-krb5 mailing list