summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 15:34:45 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-10 16:45:14 +1100
commit292974ed0ca768ff1cffb85313a923e7d4bcf549 (patch)
tree9934ee88be36fb7ea97825877eb74152edc7d980 /source3/libsmb
parent474fbfb7b712fe6be61505ca1796d0a3442a618a (diff)
downloadsamba-292974ed0ca768ff1cffb85313a923e7d4bcf549.tar.gz
samba-292974ed0ca768ff1cffb85313a923e7d4bcf549.tar.bz2
samba-292974ed0ca768ff1cffb85313a923e7d4bcf549.zip
s3-libsmb: Remove unused kerberos_compatible_enctypes
Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 02a02c56d0..9faf98bd02 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -358,16 +358,6 @@ bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_
#endif
}
- bool kerberos_compatible_enctypes(krb5_context context,
- krb5_enctype enctype1,
- krb5_enctype enctype2)
-{
- krb5_boolean similar = 0;
-
- krb5_c_enctype_compare(context, enctype1, enctype2, &similar);
- return similar ? True : False;
-}
-
static bool ads_cleanup_expired_creds(krb5_context context,
krb5_ccache ccache,
krb5_creds *credsp)