mirror of
https://github.com/samba-team/samba.git
synced 2025-03-30 06:50:24 +03:00
krb5_wrap: remove duplicate declaration and dead ifdef
Signed-off-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
c761654b92
commit
6ab0dfe0d9
@ -171,10 +171,6 @@ krb5_error_code smb_krb5_unparse_name(TALLOC_CTX *mem_ctx,
|
||||
const char *name,
|
||||
krb5_principal *principal)
|
||||
{
|
||||
#ifdef HAVE_KRB5_PARSE_NAME_NOREALM
|
||||
return smb_krb5_parse_name_norealm_conv(context, name, principal);
|
||||
#endif
|
||||
|
||||
/* we are cheating here because parse_name will in fact set the realm.
|
||||
* We don't care as the only caller of smb_krb5_parse_name_norealm
|
||||
* ignores the realm anyway when calling
|
||||
|
@ -68,10 +68,6 @@ krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype
|
||||
krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_KRB5_FREE_UNPARSED_NAME
|
||||
void krb5_free_unparsed_name(krb5_context ctx, char *val);
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_KRB5_PRINCIPAL_GET_COMP_STRING) && !defined(HAVE_KRB5_PRINC_COMPONENT)
|
||||
const krb5_data *krb5_princ_component(krb5_context context, krb5_principal principal, int i );
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user