[krbdev.mit.edu #8378] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Jul 6 14:23:03 EDT 2016


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().

(cherry picked from commit b572a01b6295fd816a5785a4cd0f5243a360caba)

https://github.com/krb5/krb5/commit/0b7c9417ab0f95b380dba3fd53432b68f4daf737
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 0b7c9417ab0f95b380dba3fd53432b68f4daf737
Branch: krb5-1.14
 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(-)



More information about the krb5-bugs mailing list