summaryrefslogtreecommitdiffstats
path: root/src/appl/sample/sclient
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-04-01 03:16:14 +0000
committerTheodore Tso <tytso@mit.edu>1995-04-01 03:16:14 +0000
commit2f5e41a4a17bb050974a779a19ba641fec91f786 (patch)
tree45eb86361b9d0bdcfa56e8ba9ad360f37a60a640 /src/appl/sample/sclient
parent83222d242907711ea4dbc93566dc4cf0cae71ee1 (diff)
downloadkrb5-2f5e41a4a17bb050974a779a19ba641fec91f786.tar.gz
krb5-2f5e41a4a17bb050974a779a19ba641fec91f786.tar.xz
krb5-2f5e41a4a17bb050974a779a19ba641fec91f786.zip
Initialize auth_context to NULL before calling sendauth()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5336 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/sample/sclient')
-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) {