summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap/krb5_samba.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-26 16:52:37 -0400
committerSimo Sorce <idra@samba.org>2012-05-04 16:51:28 +0200
commit93de8e45707ab834eb9d4e2a442025d109955382 (patch)
tree66b871e0f2ba4a2561282ca5aec4c7c464dee569 /lib/krb5_wrap/krb5_samba.h
parent62f3be7af3f743ddc2ec0c4d8e6a431fae583282 (diff)
downloadsamba-93de8e45707ab834eb9d4e2a442025d109955382.tar.gz
samba-93de8e45707ab834eb9d4e2a442025d109955382.tar.bz2
samba-93de8e45707ab834eb9d4e2a442025d109955382.zip
krb5samba: Add compat code to initialize keyblock contents
Diffstat (limited to 'lib/krb5_wrap/krb5_samba.h')
-rw-r--r--lib/krb5_wrap/krb5_samba.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h
index e2bd634d7a..a60be35a98 100644
--- a/lib/krb5_wrap/krb5_samba.h
+++ b/lib/krb5_wrap/krb5_samba.h
@@ -198,6 +198,11 @@ krb5_error_code smb_krb5_get_creds(const char *server_s,
const char *cc,
const char *impersonate_princ_s,
krb5_creds **creds_p);
+krb5_error_code smb_krb5_keyblock_init_contents(krb5_context context,
+ krb5_enctype enctype,
+ const void *data,
+ size_t length,
+ krb5_keyblock *key);
krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc,
krb5_principal principal,
krb5_keyblock *keyblock,