From 305af57ddf939e5c1dd4c5a80bdf75241d88995d Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 7 Dec 1998 20:20:38 +0000 Subject: [PATCH] * svr_principal.c (kadm5_randkey_principal_3): Fix typo in 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 | 5 +++++ src/lib/kadm5/srv/svr_principal.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index 61ad65eee..f96abed50 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 7 15:19:11 1998 Ezra Peisach + + * svr_principal.c (kadm5_randkey_principal_3): Fix typo in + arguments to krb5_dbe_crk(). + 1998-11-13 Theodore Ts'o * Makefile.in: Set the myfulldir and mydir variables (which are diff --git a/src/lib/kadm5/srv/svr_principal.c b/src/lib/kadm5/srv/svr_principal.c index 5e15bb8f2..b58e11b5d 100644 --- a/src/lib/kadm5/srv/svr_principal.c +++ b/src/lib/kadm5/srv/svr_principal.c @@ -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; -- 2.26.2