Change version number.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@881 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-10-24 18:23:01 +00:00
parent b96bc32e40
commit 338c2664b5
3 changed files with 4 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ connect_host (char *host, des_cblock *key, des_key_schedule schedule,
status = krb_sendauth (KOPT_DO_MUTUAL, s, &text, "rcmd",
host, krb_realmofhost (host),
getpid(), &msg, &cred, schedule,
&thisaddr, &thataddr, "KXSERV.0");
&thisaddr, &thataddr, KXVERSION);
if (status != KSUCCESS) {
fprintf (stderr, "%s: %s: %s\n", prog, host,
krb_get_err_text(status));

View File

@@ -83,4 +83,6 @@ int connect_local_xsocket (unsigned dnr);
#define KX_PORT 2111
#define KXVERSION "KXSERV.1"
#define COOKIE_TYPE "MIT-MAGIC-COOKIE-1"

View File

@@ -72,7 +72,7 @@ recv_conn (int sock, des_cblock *key, des_key_schedule schedule,
&thataddr, &thisaddr, &auth, "", schedule,
version);
if (status != KSUCCESS ||
strncmp(version, "KXSERV.0", KRB_SENDAUTH_VLEN) != 0) {
strncmp(version, KXVERSION, KRB_SENDAUTH_VLEN) != 0) {
return 1;
}
passwd = k_getpwnam (auth.pname);