* k5unseal.c (kg_unseal): Pass unsigned int * instead of int *
authorEzra Peisach <epeisach@mit.edu>
Mon, 15 Jul 2002 17:03:16 +0000 (17:03 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 15 Jul 2002 17:03:16 +0000 (17:03 +0000)
length return argument to g_verify_token_header.

* accept_sec_context.c (krb5_gss_accept_sec_context): Pass
OM_uint32 * instead of krb5_error_code * to krb5_gss_release_cred.

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

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/gssapi/krb5/k5unseal.c

index eb69c56a6aa0d33de2f6aa9cad840e8fa060dd9a..9111613a03aa872bcdf91becd126e3b77c45017b 100644 (file)
@@ -1,3 +1,11 @@
+2002-07-15  Ezra Peisach  <epeisach@bu.edu>
+
+       * k5unseal.c (kg_unseal): Pass unsigned int * instead of int *
+       length return argument to g_verify_token_header.
+
+       * accept_sec_context.c (krb5_gss_accept_sec_context): Pass
+       OM_uint32 * instead of krb5_error_code * to krb5_gss_release_cred.
+
 2002-07-14  Alexandra Ellwood <lxs@mit.edu>
 
        * gssapi_krb5.h: Added #include of gssapi.h and gssapi_generic.h
index 49286d6cec410ccc012945b641187622028b2fc9..5ba8bc820f2de50340835be17a754bb75a8f2fb8 100644 (file)
@@ -880,7 +880,7 @@ krb5_gss_accept_sec_context(minor_status, context_handle,
        *output_token = token;
    }
    if (!verifier_cred_handle && cred_handle) {
-          krb5_gss_release_cred(&code, cred_handle);
+          krb5_gss_release_cred(minor_status, cred_handle);
    }
    return (major_status);
 }
index 40521537919db0e43daff1a9ad607ff02d67028d..d51c608e024c2f29a5789ff2a8ef636ea06a1b83 100644 (file)
@@ -486,7 +486,7 @@ kg_unseal(context, minor_status, context_handle, input_token_buffer,
 {
     krb5_gss_ctx_id_rec *ctx;
     unsigned char *ptr;
-    int bodysize;
+    unsigned int bodysize;
     int err;
 
     /* validate the context handle */