removed unused stuff

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6281 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-05-23 06:51:32 +00:00
parent 60af6a3d15
commit 4209a1ef88
2 changed files with 2 additions and 14 deletions

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.
*
@@ -51,7 +51,7 @@ proto (int sock, const char *hostname, const char *service)
krb5_ccache ccache;
krb5_auth_context auth_context;
krb5_error_code status;
krb5_principal client, server;
krb5_principal client;
krb5_data data;
krb5_data packet;
krb5_creds mcred, cred;
@@ -130,14 +130,6 @@ proto (int sock, const char *hostname, const char *service)
if(status)
krb5_err(context, 1, status, "krb5_auth_con_setuserkey");
status = krb5_sname_to_principal (context,
hostname,
service,
KRB5_NT_SRV_HST,
&server);
if (status)
krb5_err(context, 1, status, "krb5_sname_to_principal");
status = krb5_recvauth(context, &auth_context, &sock,
VERSION, client, 0, NULL, NULL);