krb5_error_code before trying to add to ERROR_TABLE_BASE_krb5.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13658
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-07-31 Ezra Peisach <epeisach@mit.edu>
+
+ * get_in_tkt.c: Cast to unsigned krb5_error error value to
+ krb5_error_code before trying to add to ERROR_TABLE_BASE_krb5.
+
2001-07-30 Ezra Peisach <epeisach@mit.edu>
* sendauth.c (krb5_sendauth): Instead of casting second argument
goto cleanup;
continue;
} else {
- retval = err_reply->error + ERROR_TABLE_BASE_krb5;
+ retval = (krb5_error_code) err_reply->error
+ + ERROR_TABLE_BASE_krb5;
krb5_free_error(context, err_reply);
goto cleanup;
}
if (ret)
goto cleanup;
} else {
- ret = err_reply->error + ERROR_TABLE_BASE_krb5;
+ ret = (krb5_error_code) err_reply->error
+ + ERROR_TABLE_BASE_krb5;
krb5_free_error(context, err_reply);
goto cleanup;
}