summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-03-30 17:32:12 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:42 +0200
commit60905c807a0a9d4911b67556da7eb03e3fd7bc5e (patch)
tree46670710cb206356754b70c3c1bca845f0e6ab92 /source4/auth
parent670dbde65ea608c407bd49b181ece7f1dac9f670 (diff)
downloadsamba-60905c807a0a9d4911b67556da7eb03e3fd7bc5e.tar.gz
samba-60905c807a0a9d4911b67556da7eb03e3fd7bc5e.tar.bz2
samba-60905c807a0a9d4911b67556da7eb03e3fd7bc5e.zip
s4-auth-krb: Make kerberos_enctype_bitmap_to_enctypes static.
It is not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/kerberos/kerberos_util.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index cbbe2d1335..850dc61b8e 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -599,6 +599,10 @@ static krb5_error_code keytab_add_keys(TALLOC_CTX *parent_ctx,
return 0;
}
+static krb5_error_code kerberos_enctype_bitmap_to_enctypes(TALLOC_CTX *mem_ctx,
+ uint32_t enctype_bitmap,
+ krb5_enctype **enctypes);
+
static krb5_error_code create_keytab(TALLOC_CTX *parent_ctx,
struct ldb_message *msg,
struct principal_container **principals,
@@ -968,7 +972,9 @@ krb5_enctype kerberos_enctype_bitmap_to_enctype(uint32_t enctype_bitmap)
}
/* Return an array of krb5_enctype values */
-krb5_error_code kerberos_enctype_bitmap_to_enctypes(TALLOC_CTX *mem_ctx, uint32_t enctype_bitmap, krb5_enctype **enctypes)
+static krb5_error_code kerberos_enctype_bitmap_to_enctypes(TALLOC_CTX *mem_ctx,
+ uint32_t enctype_bitmap,
+ krb5_enctype **enctypes)
{
unsigned int i, j = 0;
*enctypes = talloc_zero_array(mem_ctx, krb5_enctype, (8*sizeof(enctype_bitmap))+1);