switch to krb5_clear_error_message

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-10-14 02:55:39 +00:00
parent e8dd9bcc6f
commit 03babea1e3
39 changed files with 141 additions and 141 deletions

View File

@@ -117,7 +117,7 @@ krb5_recvauth_match_version(krb5_context context,
|| strncmp (version, her_version, len)) {
repl = 1;
krb5_net_write (context, p_fd, &repl, 1);
krb5_clear_error_string (context);
krb5_clear_error_message (context);
return KRB5_SENDAUTH_BADAUTHVERS;
}
}
@@ -129,7 +129,7 @@ krb5_recvauth_match_version(krb5_context context,
return ret;
}
if (n == 0) {
krb5_clear_error_string (context);
krb5_clear_error_message (context);
return KRB5_SENDAUTH_BADAPPLVERS;
}
len = ntohl(len);