diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-30 17:41:51 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-05-30 12:55:39 +0200 |
commit | 65bd5eb04bcd426833ba4a5cf424af9710f03f2e (patch) | |
tree | 866454f7e463188321459ab69012b3337035d35f /lib/krb5_wrap/krb5_samba.h | |
parent | 9cae92b48574d22e0d8e129ed6cb3d2ca20b6fc8 (diff) | |
download | samba-65bd5eb04bcd426833ba4a5cf424af9710f03f2e.tar.gz |
lib/krb5_wrap: Move krb5_princ_size helper to source4 as it is only used there
This is also where the related krb5_princ_component is declared.
Also fix the configure check to use the correct name
This helps the autoconf build on Heimdal.
Andrew Bartlett
Diffstat (limited to 'lib/krb5_wrap/krb5_samba.h')
-rw-r--r-- | lib/krb5_wrap/krb5_samba.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 8d55a32f154..bd348793741 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -64,14 +64,6 @@ #define AP_OPTS_USE_SUBKEY 0 #endif -#ifndef krb5_princ_size -#if defined(HAVE_KRB5_KRB5_PRINCIPAL_GET_NUM_COMP) -#define krb5_princ_size krb5_principal_get_num_comp -#else -#error krb5_princ_size unavailable -#endif -#endif - typedef struct { #if defined(HAVE_MAGIC_IN_KRB5_ADDRESS) && defined(HAVE_ADDRTYPE_IN_KRB5_ADDRESS) /* MIT */ krb5_address **addrs; |