(proto): call krb5_sendauth with ccache == NULL

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6196 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-05-10 03:52:18 +00:00
parent 819f74720a
commit b70ea6a02c

View File

@@ -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);