removed unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6281 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -50,7 +50,6 @@ proto (int sock, const char *service)
|
||||
krb5_ccache ccache;
|
||||
krb5_auth_context auth_context;
|
||||
krb5_error_code status;
|
||||
char hostname[MAXHOSTNAMELEN];
|
||||
krb5_data packet;
|
||||
krb5_data data;
|
||||
krb5_data client_name;
|
||||
@@ -87,9 +86,6 @@ proto (int sock, const char *service)
|
||||
errx (1, "krb5_auth_con_setaddr: %s",
|
||||
krb5_get_err_text(context, status));
|
||||
|
||||
if(gethostname (hostname, sizeof(hostname)) < 0)
|
||||
err (1, "gethostname");
|
||||
|
||||
status = krb5_read_message(context, &sock, &client_name);
|
||||
if(status)
|
||||
krb5_err(context, 1, status, "krb5_read_message");
|
||||
|
Reference in New Issue
Block a user