summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-27 21:13:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:58 -0500
commit4a66d0e232271968ba96da50274428916a393975 (patch)
tree89e40c8ad86d96458905940839a5ddba4f1bd747 /source3/include
parent34dac35e48ca0c03d2744d9925566665285eb973 (diff)
downloadsamba-4a66d0e232271968ba96da50274428916a393975.tar.gz
samba-4a66d0e232271968ba96da50274428916a393975.tar.bz2
samba-4a66d0e232271968ba96da50274428916a393975.zip
r21991: I hate Steve French :-). Add support for encryption
contexts.... Jeremy. (This used to be commit ae8f3649f773b8a8dcb55921536d038d3475322e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h1
-rw-r--r--source3/include/includes.h8
2 files changed, 1 insertions, 8 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 3185f05ac1..4df2459fb2 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -90,6 +90,7 @@ struct smb_tran_enc_state_gss {
struct smb_trans_enc_state {
enum smb_trans_enc_type smb_enc_type;
+ uint16 enc_ctx_num;
BOOL enc_on;
union {
NTLMSSP_STATE *ntlmssp_state;
diff --git a/source3/include/includes.h b/source3/include/includes.h
index b4485ba30d..5b81cfbfab 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1186,14 +1186,6 @@ krb5_error_code smb_krb5_mk_error(krb5_context context,
const krb5_principal server,
krb5_data *reply);
-/* Call for SMB transport encryption. */
-#if defined(HAVE_GSSAPI)
-NTSTATUS common_gss_decrypt_buffer(struct smb_tran_enc_state_gss *gss_state, char *buf);
-#endif
-#if defined(HAVE_GSSAPI)
-NTSTATUS common_gss_encrypt_buffer(struct smb_tran_enc_state_gss *gss_state, char *buf, char **buf_out);
-#endif
-
#endif /* HAVE_KRB5 */