fix argument count check after getarg change; spotted by Mark Davies
in bin/12696
This commit is contained in:
parent
446403457a
commit
cbf5d74c87
6
crypto/dist/heimdal/kadmin/del_enctype.c
vendored
6
crypto/dist/heimdal/kadmin/del_enctype.c
vendored
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999-2000 Kungliga Tekniska Högskolan
|
||||
* Copyright (c) 1999-2001 Kungliga Tekniska Högskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
#include "kadmin_locl.h"
|
||||
|
||||
RCSID("$Id: del_enctype.c,v 1.1.1.3 2001/02/11 13:51:32 assar Exp $");
|
||||
RCSID("$Id: del_enctype.c,v 1.2 2001/04/19 07:30:04 joda Exp $");
|
||||
|
||||
/*
|
||||
* del_enctype principal enctypes...
|
||||
@ -73,7 +73,7 @@ del_enctype(int argc, char **argv)
|
||||
usage ();
|
||||
return 0;
|
||||
}
|
||||
if(argc - optind < 3 || help_flag) {
|
||||
if(argc - optind < 2 || help_flag) {
|
||||
usage ();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user