aboutsummaryrefslogtreecommitdiff
path: root/src/appl
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2004-02-10 21:30:31 +0000
committerTom Yu <tlyu@mit.edu>2004-02-10 21:30:31 +0000
commit2ecd2790088ed82c13c825f6d0f693518c96b47b (patch)
treeeec41125bc070271818825609d7582193813f884 /src/appl
parent01da5f51a0748742024ddcb263a436bdea341fc3 (diff)
downloadkrb5-2ecd2790088ed82c13c825f6d0f693518c96b47b.zip
krb5-2ecd2790088ed82c13c825f6d0f693518c96b47b.tar.gz
krb5-2ecd2790088ed82c13c825f6d0f693518c96b47b.tar.bz2
remove extraneous parameters from client_establish_context()
pullup from trunk ticket: 2225 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-3@16053 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/gss-sample/ChangeLog5
-rw-r--r--src/appl/gss-sample/gss-client.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/src/appl/gss-sample/ChangeLog b/src/appl/gss-sample/ChangeLog
index 01b2d97..fae9684 100644
--- a/src/appl/gss-sample/ChangeLog
+++ b/src/appl/gss-sample/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-10 Jeffrey Altman <jaltman@mit.edu>
+
+ * gss-client.c: Remove extraneous parameters from
+ client_establish_context()
+
2004-02-06 Jeffrey Altman <jaltman@mit.edu>
* Update usage() for gss-client
diff --git a/src/appl/gss-sample/gss-client.c b/src/appl/gss-sample/gss-client.c
index c3fce2d..bd1dc46 100644
--- a/src/appl/gss-sample/gss-client.c
+++ b/src/appl/gss-sample/gss-client.c
@@ -107,11 +107,12 @@ static int connect_to_server(host, port)
*
* Arguments:
*
- * s (r) an established TCP connection to the service
- * service_name (r) the ASCII service name of the service
+ * s (r) an established TCP connection to the service
+ * service_name(r) the ASCII service name of the service
* gss_flags (r) GSS-API delegation flag (if any)
* auth_flag (r) whether to actually do authentication
- * oid (r) OID of the mechanism to use
+ * v1_format (r) whether the v1 sample protocol should be used
+ * oid (r) OID of the mechanism to use
* context (w) the established GSS-API context
* ret_flags (w) the returned flags from init_sec_context
*
@@ -130,8 +131,7 @@ static int connect_to_server(host, port)
* and -1 is returned.
*/
static int client_establish_context(s, service_name, gss_flags, auth_flag,
- v1_format, oid, gss_context, ret_flags, replay_flag,
- seq_flag, mutual_flag)
+ v1_format, oid, gss_context, ret_flags)
int s;
char *service_name;
gss_OID oid;