Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

Add krb5_kt_have_content API

Add the krb5_kt_have_content API from Heimdal, which can be used to
test whether a keytab exists and contains entries. Add tests to
t_keytab.c.

There is a deviation from Heimdal in the function signature.
Heimdal's signature returns a krb5_boolean at the moment, because the
Heimdal implementation actually returns a krb5_error_code. These are
generally the same type anyway (int).

https://github.com/krb5/krb5/commit/246a24f393ffd3c9dfcce56618804ad59edc996e
Author: Greg Hudson <ghudson@mit.edu>
Commit: 246a24f393ffd3c9dfcce56618804ad59edc996e
Branch: master
doc/rst_source/krb_appldev/refs/api/index.rst | 1 +
src/include/krb5/krb5.hin | 12 ++++++++++++
src/lib/krb5/keytab/ktfns.c | 23 +++++++++++++++++++++++
src/lib/krb5/keytab/t_keytab.c | 6 ++++++
src/lib/krb5/libkrb5.exports | 1 +
src/lib/krb5_32.def | 1 +
6 files changed, 44 insertions(+), 0 deletions(-)