Simplify EFTYPE checking in db2 KDB module Create a new macro IS_EFTYPE in policy_db.h, and use it to avoid preprocessor conditionals in open_db() and osa_adb_open_and_lock(). https://github.com/krb5/krb5/commit/b572a01b6295fd816a5785a4cd0f5243a360caba Author: Greg Hudson Commit: b572a01b6295fd816a5785a4cd0f5243a360caba Branch: master src/plugins/kdb/db2/adb_openclose.c | 8 ++------ src/plugins/kdb/db2/kdb_db2.c | 7 +------ src/plugins/kdb/db2/policy_db.h | 8 ++++++++ 3 files changed, 11 insertions(+), 12 deletions(-)