[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
small patches
Hi,
please find enclosed two patches. The first one (kf.patch) changes the
VERSION (which is the heimdal version string) for a newly defined parameter
KF_VERSION. Otherwise the kf application from different releases are
incompatible.
The latter patch corrects paramater passing to the log subsystem.
--
Daniel Kouril
--- heimdal-0.4e/appl/kf/kf.c.orig Fri Oct 19 16:00:45 2001
+++ heimdal-0.4e/appl/kf/kf.c Fri Oct 19 16:01:47 2001
@@ -166,7 +166,7 @@
status = krb5_sendauth (context,
&auth_context,
&sock,
- VERSION,
+ KF_VERSION,
NULL,
server,
AP_OPTS_MUTUAL_REQUIRED,
--- heimdal-0.4e/appl/kf/kfd.c.orig Fri Oct 19 16:01:00 2001
+++ heimdal-0.4e/appl/kf/kfd.c Fri Oct 19 16:04:45 2001
@@ -170,7 +170,7 @@
status = krb5_recvauth (context,
&auth_context,
&sock,
- VERSION,
+ KF_VERSION,
server,
0,
NULL,
--- heimdal-0.4e/appl/kf/kf_locl.h.orig Fri Oct 19 16:01:10 2001
+++ heimdal-0.4e/appl/kf/kf_locl.h Fri Oct 19 16:05:02 2001
@@ -75,6 +75,7 @@
#include <krb5.h>
#define SERVICE "host"
+#define KF_VERSION "KF v1.0"
#define PORT "kf"
#define PORT_NUM 2110
--- heimdal-0.4e/lib/krb5/log.c.orig Wed Nov 28 11:22:26 2001
+++ heimdal-0.4e/lib/krb5/log.c Wed Nov 28 11:24:10 2001
@@ -363,7 +363,7 @@
{
int i;
for(i = 0; i < fac->len; i++)
- (*fac->val[i].close)(&fac->val[i].data);
+ (*fac->val[i].close)(fac->val[i].data);
return 0;
}