Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 1198 Simplify principal and policy manipulation code Now that principal entry and policy fields are allocated using the malloc visible to the krb5 libraries, we don't need to use krb5_db_alloc() and krb5_db_free() when modifying them within our code. https://github.com/krb5/krb5/commit/d0168227a062bc70b1ec04295cdaa512c33c2233 Author: Greg Hudson Commit: d0168227a062bc70b1ec04295cdaa512c33c2233 Branch: master src/kadmin/dbutil/dump.c | 3 +- src/kadmin/dbutil/kdb5_create.c | 3 +- src/lib/kadm5/srv/svr_policy.c | 8 +-- src/lib/kadm5/srv/svr_principal.c | 106 +++------------------- src/lib/kdb/encrypt_key.c | 11 +-- src/lib/kdb/kdb5.c | 71 ++++++--------- src/lib/kdb/kdb_convert.c | 3 +- src/lib/kdb/kdb_cpw.c | 103 +++++---------------- src/lib/kdb/t_stringattr.c | 3 +- src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c | 14 +--- src/tests/create/kdb5_mkdums.c | 3 +- 11 files changed, 75 insertions(+), 253 deletions(-)