* keytab.c (add_principal): free_keyblock -> free_keyblock_contents
authorBarry Jaspan <bjaspan@mit.edu>
Fri, 2 Aug 1996 17:17:58 +0000 (17:17 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Fri, 2 Aug 1996 17:17:58 +0000 (17:17 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8893 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/cli/ChangeLog
src/kadmin/cli/keytab.c

index 9abb58a6097fc6ff2064c84fba09ba619ccb3fd8..f9820adc4da2bae1cad206fcc37fb3754e2fe788 100644 (file)
@@ -1,3 +1,7 @@
+Fri Aug  2 13:13:24 1996  Barry Jaspan  <bjaspan@DUN-DUN-NOODLES>
+
+       * keytab.c (add_principal): free_keyblock -> free_keyblock_contents
+
 Wed Jul 31 14:20:50 1996  Tom Yu  <tlyu@mit.edu>
 
        * kadmin.c: Remove delcaration for getpwuid(); already declared in
index 4b51140b55363715f9b20fb0ef3715d2516d00ed..dd8242e018a2626953c181396bb37c9c2f91e270 100644 (file)
@@ -253,7 +253,7 @@ int add_principal(void *handle, char *keytab_str, krb5_keytab keytab,
 cleanup:
      if (nkeys) {
          for (i = 0; i < nkeys; i++)
-              krb5_free_keyblock(context, &keys[i]);
+              krb5_free_keyblock_contents(context, &keys[i]);
          free(keys);
      }
      if (princ)