freeipa/util/ipa_krb5.h
Jakub Hrozek 3b7a86024b Use internal implementation of internal Kerberos functions
Don't use KRB5_PRIVATE.

The patch implements and uses the following krb5 functions that are
otherwise private in recent MIT Kerberos releases:
 * krb5_principal2salt_norealm
 * krb5_free_ktypes

Signed-off-by: Simo Sorce <ssorce@redhat.com>
2010-11-22 16:01:35 -05:00

13 lines
273 B
C

#ifndef __IPA_KRB5_H_
#define __IPA_KRB5_H_
#include <krb5.h>
void
ipa_krb5_free_ktypes(krb5_context context, krb5_enctype *val);
krb5_error_code
ipa_krb5_principal2salt_norealm(krb5_context context, krb5_const_principal pr, krb5_data *ret);
#endif /* __IPA_KRB5_H_ */