]> git.ipfire.org Git - thirdparty/krb5.git/commit
Simplify EFTYPE checking in db2 KDB module
authorGreg Hudson <ghudson@mit.edu>
Mon, 28 Mar 2016 17:29:26 +0000 (13:29 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 29 Apr 2016 23:05:10 +0000 (19:05 -0400)
commitb572a01b6295fd816a5785a4cd0f5243a360caba
tree95d9843ceea3a0953b6047d70e2aa306dcb0d911
parent585e8ce503f3b74268059384f07ad9cccf377d49
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().

ticket: 8378
src/plugins/kdb/db2/adb_openclose.c
src/plugins/kdb/db2/kdb_db2.c
src/plugins/kdb/db2/policy_db.h