Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/heimdal/kadmin fix argument count check after ge...



details:   https://anonhg.NetBSD.org/src/rev/60fae2c06661
branches:  trunk
changeset: 508743:60fae2c06661
user:      joda <joda%NetBSD.org@localhost>
date:      Thu Apr 19 07:30:04 2001 +0000

description:
fix argument count check after getarg change; spotted by Mark Davies
in bin/12696

diffstat:

 crypto/dist/heimdal/kadmin/del_enctype.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a5de9296f656 -r 60fae2c06661 crypto/dist/heimdal/kadmin/del_enctype.c
--- a/crypto/dist/heimdal/kadmin/del_enctype.c  Thu Apr 19 07:19:48 2001 +0000
+++ b/crypto/dist/heimdal/kadmin/del_enctype.c  Thu Apr 19 07:30:04 2001 +0000
@@ -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 @@
        usage ();
        return 0;
     }
-    if(argc - optind < 3 || help_flag) {
+    if(argc - optind < 2 || help_flag) {
        usage ();
        return 0;
     }



Home | Main Index | Thread Index | Old Index