Change second argument to krb5_cc_register to take a const krb5_cc_ops *. Makes
authorEzra Peisach <epeisach@mit.edu>
Tue, 23 Jan 2007 20:17:08 +0000 (20:17 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 23 Jan 2007 20:17:08 +0000 (20:17 +0000)
sense - when krb5_Xcc_ops currently defined as such - and assignment of value
assumes same.

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

src/include/k5-int.h
src/lib/krb5/ccache/ccbase.c

index afad806e111ff6ad62ac0d0fc8240ad0732bd171..ac4bb62d26a4230e7e4e39a3fc58705f972b9722 100644 (file)
@@ -2316,7 +2316,7 @@ krb5_error_code krb5_rd_req_decoded_anyflag
                krb5_ticket **);
 krb5_error_code KRB5_CALLCONV krb5_cc_register
        (krb5_context,
-               krb5_cc_ops *,
+               const krb5_cc_ops *,
                krb5_boolean );
 krb5_error_code krb5_walk_realm_tree
        (krb5_context,
index c2084c5542966948d9cddeb055fd591e5e744941..e41573adf0c05fd2a1ae3142cac0a4cfa26b2166 100644 (file)
@@ -132,7 +132,8 @@ krb5int_cc_finalize(void)
  */
 
 krb5_error_code KRB5_CALLCONV
-krb5_cc_register(krb5_context context, krb5_cc_ops *ops, krb5_boolean override)
+krb5_cc_register(krb5_context context, const krb5_cc_ops *ops, 
+                krb5_boolean override)
 {
     struct krb5_cc_typelist *t;
     krb5_error_code err;