From cdc518c087f2f96eb09faeb742d94bad774ed42c Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 12 Apr 2000 10:45:54 +0000 Subject: [PATCH] (do_cpw_entry): call set_password if no argument is given, it will prompt for the password. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8180 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kadmin/cpw.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kadmin/cpw.c b/kadmin/cpw.c index d2b9169ff..004bb0e3e 100644 --- a/kadmin/cpw.c +++ b/kadmin/cpw.c @@ -139,12 +139,10 @@ do_cpw_entry(krb5_principal principal, void *data) return set_random_key (principal); else if (e->random_password) return set_random_password (principal); - else if (e->password) - return set_password (principal, e->password); else if (e->key_data) return set_key_data (principal, e->key_data); else - abort (); + return set_password (principal, e->password); } int