argument number checks are now done by slc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14026 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -211,11 +211,6 @@ add_new_key(struct add_options *opt, int argc, char **argv)
|
||||
krb5_key_data key_data[3];
|
||||
krb5_key_data *kdp = NULL;
|
||||
|
||||
if(argc == 0) {
|
||||
fprintf(stderr, "usage: add principal...\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
num = 0;
|
||||
if (opt->random_key_flag)
|
||||
++num;
|
||||
|
Reference in New Issue
Block a user