summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/appl/sample/sclient/ChangeLog5
-rw-r--r--src/appl/sample/sclient/sclient.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/appl/sample/sclient/ChangeLog b/src/appl/sample/sclient/ChangeLog
index 4e7296c6fd..6ecf82b74a 100644
--- a/src/appl/sample/sclient/ChangeLog
+++ b/src/appl/sample/sclient/ChangeLog
@@ -1,3 +1,8 @@
+Fri Mar 24 23:49:22 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * sclient.c (main): Initialize auth_context to NULL before calling
+ sendauth().
+
Fri Mar 10 11:09:34 1995 Chris Provenzano (proven@mit.edu)
* sclient.c Use new calling convention for krb5_sendauth().
diff --git a/src/appl/sample/sclient/sclient.c b/src/appl/sample/sclient/sclient.c
index 2a61b197a0..1b5e87aec1 100644
--- a/src/appl/sample/sclient/sclient.c
+++ b/src/appl/sample/sclient/sclient.c
@@ -57,7 +57,7 @@ char *argv[];
krb5_principal client, server;
krb5_error *err_ret;
krb5_ap_rep_enc_part *rep_ret;
- krb5_auth_context * auth_context;
+ krb5_auth_context * auth_context = 0;
short xmitlen;
if (argc != 2 && argc != 3) {