simplify error printing, context contains error

This commit is contained in:
Love Hörnquist Åstrand
2011-06-14 07:11:43 -07:00
parent 40a53bae5f
commit 277bec06e7

View File

@@ -492,8 +492,6 @@ handle_v5(krb5_context contextp,
match_appl_version, &kadm_version,
NULL, KRB5_RECVAUTH_IGNORE_VERSION,
keytab, &ticket);
if(ret == KRB5_KT_NOTFOUND)
krb5_errx(contextp, 1, "krb5_recvauth: key not found");
if (ret)
krb5_err(contextp, 1, ret, "krb5_recvauth");