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: 1012 Use unsigned 16-bit type for key data kvno Change key_data_kvno from a signed 16-bit field to an unsigned 16-bit field, since negative values are never meaningful. When adding new keys, wrap from 65535 to 1 to avoid using the special value 0. Don't bump the KDB binary version since this change is unlikely to affect callers. https://github.com/krb5/krb5/commit/1d4df2264684ab6731dedc8882a0cd6353af33da Author: Greg Hudson Commit: 1d4df2264684ab6731dedc8882a0cd6353af33da Branch: master src/include/k5-int.h | 2 +- src/include/kdb.h | 2 +- src/lib/kadm5/kadm_rpc_xdr.c | 2 +- src/lib/kadm5/srv/adb_xdr.c | 2 +- src/lib/kdb/kdb_convert.c | 2 +- src/lib/kdb/kdb_cpw.c | 4 ++++ src/lib/krb5/asn.1/ldap_key_seq.c | 3 ++- src/plugins/kdb/ldap/libkdb_ldap/princ_xdr.c | 2 +- 8 files changed, 12 insertions(+), 7 deletions(-)