summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/test/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/appl/test/common.c')
-rw-r--r--crypto/heimdal/appl/test/common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/heimdal/appl/test/common.c b/crypto/heimdal/appl/test/common.c
index 58b9fdf..595c828 100644
--- a/crypto/heimdal/appl/test/common.c
+++ b/crypto/heimdal/appl/test/common.c
@@ -33,7 +33,7 @@
#include "test_locl.h"
-RCSID("$Id: common.c,v 1.11 2000/08/27 04:29:34 assar Exp $");
+RCSID("$Id: common.c 12796 2003-09-09 03:38:04Z lha $");
static int help_flag;
static int version_flag;
@@ -41,12 +41,14 @@ static char *port_str;
static char *keytab_str;
krb5_keytab keytab;
char *service = SERVICE;
+char *mech = "krb5";
int fork_flag;
static struct getargs args[] = {
{ "port", 'p', arg_string, &port_str, "port to listen to", "port" },
{ "service", 's', arg_string, &service, "service to use", "service" },
{ "keytab", 'k', arg_string, &keytab_str, "keytab to use", "keytab" },
+ { "mech", 'm', arg_string, &mech, "gssapi mech to use", "mech" },
{ "fork", 'f', arg_flag, &fork_flag, "do fork" },
{ "help", 'h', arg_flag, &help_flag },
{ "version", 0, arg_flag, &version_flag }
OpenPOWER on IntegriCloud