krb5: Fix error code mapping
Found by Coverity (Samba CID 1518726). Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Nico Williams

parent
b0f196880c
commit
b1f7a63e41
@@ -1033,7 +1033,7 @@ rd_kx509_resp(krb5_context context,
|
||||
code = 0; /* No error */
|
||||
} else if (r.error_code < 0) {
|
||||
code = KRB5KRB_ERR_GENERIC; /* ??? */
|
||||
} else if (r.error_code <= KX509_ERR_SRV_OVERLOADED) {
|
||||
} else if (r.error_code <= KX509_ERR_SRV_OVERLOADED - ERROR_TABLE_BASE_kx59) {
|
||||
/*
|
||||
* RFC6717 (kx509) error code. These are actually not used on the
|
||||
* wire in any existing implementations that we are aware of. Just
|
||||
|
Reference in New Issue
Block a user