]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Remove unused struct and switch_to stubs
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Mon, 16 Jul 2012 15:43:00 +0000 (11:43 -0400)
committerBen Kaduk <kaduk@mit.edu>
Thu, 23 Aug 2012 19:23:48 +0000 (15:23 -0400)
Only one mslsa ccache is supported, so switch_to is not needed.
Likewise, struct krb5int_lcc_iterator is unneccesary.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7236 (new)
target_version: 1.10.4
tags: pullup

src/lib/krb5/ccache/cc_mslsa.c

index de1dcb3b026a604b23b00e8f78f5372be3bd143b..698b62a244fb6f663ecbdaafbbe1a2cf268888b7 100644 (file)
@@ -2738,10 +2738,6 @@ krb5_lcc_get_flags(krb5_context context, krb5_ccache id, krb5_flags *flags)
     return KRB5_OK;
 }
 
-struct krb5int_lcc_iterator {
-    int id;
-};
-
 static krb5_error_code KRB5_CALLCONV
 krb5_lcc_ptcursor_new(krb5_context context, krb5_cc_ptcursor *cursor)
 {
@@ -2784,12 +2780,6 @@ krb5_lcc_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor)
     return 0;
 }
 
-static krb5_error_code KRB5_CALLCONV
-krb5_lcc_switch_to(krb5_context context, krb5_ccache id)
-{
-    return 0;
-}
-
 const krb5_cc_ops krb5_lcc_ops = {
     0,
     "MSLSA",
@@ -2816,6 +2806,6 @@ const krb5_cc_ops krb5_lcc_ops = {
     NULL, /* wasdefault */
     NULL, /* lock */
     NULL, /* unlock */
-    krb5_lcc_switch_to,
+    NULL, /* switch_to */
 };
 #endif /* _WIN32 */