(gss_auth): be more explicit in error message

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9315 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-12-08 05:07:49 +00:00
parent e10e6f2c26
commit 85b4d8f0a8

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 1999 Kungliga Tekniska H<>gskolan
* Copyright (c) 1998 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -367,7 +367,8 @@ gss_auth(void *app_data, char *host)
if (maj_stat & GSS_S_CONTINUE_NEEDED) {
p = strstr(reply_string, "ADAT=");
if(p == NULL){
printf("Error: expected ADAT in reply.\n");
printf("Error: expected ADAT in reply. got: %s\n",
reply_string);
return AUTH_ERROR;
} else {
p+=5;