Don't require --kerberos-realm.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18198 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-02 10:50:52 +00:00
parent df68c9c378
commit 3bab71b31d

View File

@@ -64,9 +64,6 @@ server_init(struct server_init_options *opt, int argc, char ** argv)
krb5_error_code ret;
krb5_digest digest;
if (opt->kerberos_realm_string == NULL)
errx(1, "realm argument missing");
if (strcasecmp(opt->type_string, "CHAP") != 0)
errx(1, "type not CHAP");
@@ -113,8 +110,6 @@ server_request(struct server_request_options *opt, int argc, char **argv)
krb5_digest digest;
const char *h;
if (opt->kerberos_realm_string == NULL)
errx(1, "realm argument missing");
if (opt->server_nonce_string == NULL)
errx(1, "server nonce missing");
if (opt->type_string == NULL)