diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-05 10:46:24 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-01-10 21:50:07 +0100 |
commit | 17e61e4290d7d95b0bdd2accda24e526484a1c51 (patch) | |
tree | 789cfc106f27a21e8ee9c6bf5dd13a3aea69efc2 /source3/libsmb | |
parent | 803dc389d1ade89708a3fedc91dd2c271f4a495b (diff) | |
download | samba-17e61e4290d7d95b0bdd2accda24e526484a1c51.tar.gz samba-17e61e4290d7d95b0bdd2accda24e526484a1c51.tar.bz2 samba-17e61e4290d7d95b0bdd2accda24e526484a1c51.zip |
krb5: Require krb5_c_enctype_compare is available to build with krb5
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clikrb5.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 6a11def19c..1bd3cede97 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -471,14 +471,10 @@ bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_ krb5_enctype enctype1, krb5_enctype enctype2) { -#if defined(HAVE_KRB5_C_ENCTYPE_COMPARE) krb5_boolean similar = 0; krb5_c_enctype_compare(context, enctype1, enctype2, &similar); return similar ? True : False; -#elif defined(HAVE_KRB5_ENCTYPES_COMPATIBLE_KEYS) - return krb5_enctypes_compatible_keys(context, enctype1, enctype2) ? True : False; -#endif } static bool ads_cleanup_expired_creds(krb5_context context, |