Added missing indirection. This was causing krb5_kt_next_entry to fail...
authorTheodore Tso <tytso@mit.edu>
Wed, 15 Jun 1994 04:53:46 +0000 (04:53 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 15 Jun 1994 04:53:46 +0000 (04:53 +0000)
(Fortunately nothing except for the GSSAPI code used it!)

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

src/lib/krb5/keytab/file/ktf_next.c

index 80edf09a40115d0e4a439c20ef22a635cb30c826..8d37f0a4f793f246a3bd90e271505e2be0199a4c 100644 (file)
@@ -41,7 +41,7 @@ krb5_keytab id;
 krb5_keytab_entry *entry;
 krb5_kt_cursor *cursor;
 {
-    long *fileoff = (long *)cursor;
+    long *fileoff = (long *)*cursor;
     krb5_keytab_entry *cur_entry;
     krb5_error_code kerror;