summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-03-30 18:29:26 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:42 +0200
commit6f7fa0bd2f786ba01fd932f3bb78dee35877a1bc (patch)
treec5cefe64299e1dcdbc10de9125190bece01ce9d0 /source4/auth/kerberos
parent60905c807a0a9d4911b67556da7eb03e3fd7bc5e (diff)
downloadsamba-6f7fa0bd2f786ba01fd932f3bb78dee35877a1bc.tar.gz
samba-6f7fa0bd2f786ba01fd932f3bb78dee35877a1bc.tar.bz2
samba-6f7fa0bd2f786ba01fd932f3bb78dee35877a1bc.zip
s4-auth-krb: Make kerberos_enctype_bitmap_to_enctype static.
It's a helper function not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/kerberos.h2
-rw-r--r--source4/auth/kerberos/kerberos_util.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h
index 8235dec70f..a224a2dd83 100644
--- a/source4/auth/kerberos/kerberos.h
+++ b/source4/auth/kerberos/kerberos.h
@@ -111,8 +111,6 @@ struct loadparm_context;
struct ldb_message;
struct ldb_context;
uint32_t kerberos_enctype_to_bitmap(krb5_enctype enc_type_enum);
-/* Translate between the Microsoft msDS-SupportedEncryptionTypes values and the IETF encryption type values */
-krb5_enctype kerberos_enctype_bitmap_to_enctype(uint32_t enctype_bitmap);
krb5_error_code smb_krb5_update_keytab(TALLOC_CTX *parent_ctx,
struct smb_krb5_context *smb_krb5_context,
struct ldb_context *ldb,
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 850dc61b8e..11628768de 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -953,7 +953,7 @@ uint32_t kerberos_enctype_to_bitmap(krb5_enctype enc_type_enum)
}
/* Translate between the Microsoft msDS-SupportedEncryptionTypes values and the IETF encryption type values */
-krb5_enctype kerberos_enctype_bitmap_to_enctype(uint32_t enctype_bitmap)
+static krb5_enctype kerberos_enctype_bitmap_to_enctype(uint32_t enctype_bitmap)
{
switch (enctype_bitmap) {
case ENC_CRC32: