From b70ea6a02c825c40bba536ae580535c32ecf5763 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 10 May 1999 03:52:18 +0000 Subject: [PATCH] (proto): call krb5_sendauth with ccache == NULL git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6196 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/test/tcp_client.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/appl/test/tcp_client.c b/appl/test/tcp_client.c index c07de144d..6db7dcea7 100644 --- a/appl/test/tcp_client.c +++ b/appl/test/tcp_client.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 1999 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -48,7 +48,6 @@ proto (int sock, const char *hostname, const char *service) int addrlen; krb5_address remote_addr, local_addr; krb5_context context; - krb5_ccache ccache; krb5_auth_context auth_context; krb5_error_code status; krb5_principal server; @@ -71,11 +70,6 @@ proto (int sock, const char *hostname, const char *service) errx (1, "krb5_init_context: %s", krb5_get_err_text(context, status)); - status = krb5_cc_default (context, &ccache); - if (status) - errx (1, "krb5_cc_default: %s", - krb5_get_err_text(context, status)); - status = krb5_auth_con_init (context, &auth_context); if (status) errx (1, "krb5_auth_con_init: %s", @@ -115,7 +109,7 @@ proto (int sock, const char *hostname, const char *service) AP_OPTS_MUTUAL_REQUIRED, NULL, NULL, - ccache, + NULL, NULL, NULL, NULL);