* svr_principal.c (kadm5_randkey_principal_3): Fix typo in
authorEzra Peisach <epeisach@mit.edu>
Mon, 7 Dec 1998 20:20:38 +0000 (20:20 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 7 Dec 1998 20:20:38 +0000 (20:20 +0000)
                arguments to krb5_dbe_crk().

Prototypes are your friends. Essentially, the number of tuples was
passed as tuples and visa-versa.

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

src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/svr_principal.c

index 61ad65eee3924010efdf9651f7fc8f6dece5c599..f96abed5015af74e7a8b7987522ac7aa37435ace 100644 (file)
@@ -1,3 +1,8 @@
+Mon Dec  7 15:19:11 1998  Ezra Peisach  <epeisach@mit.edu>
+
+       * svr_principal.c (kadm5_randkey_principal_3): Fix typo in
+               arguments to krb5_dbe_crk().
+
 1998-11-13  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * Makefile.in: Set the myfulldir and mydir variables (which are
index 5e15bb8f2ab0ecf82b87722434f4e91370d34e3c..b58e11b5dc0bc298c33ae529698d66f6e72173b6 100644 (file)
@@ -1207,8 +1207,8 @@ kadm5_randkey_principal_3(void *server_handle,
        return(ret);
 
     if (ret = krb5_dbe_crk(handle->context, &master_keyblock,
-                          n_ks_tuple?n_ks_tuple:handle->params.keysalts,
-                          n_ks_tuple?ks_tuple:handle->params.num_keysalts,
+                          n_ks_tuple?ks_tuple:handle->params.keysalts,
+                          n_ks_tuple?n_ks_tuple:handle->params.num_keysalts,
                           keepold,
                           &kdb))
        goto done;