diff options
author | Günther Deschner <gd@samba.org> | 2011-03-02 14:00:23 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-16 10:11:16 +0100 |
commit | 6c8d802391e0aaf375108bcd1270565983d735a8 (patch) | |
tree | 04a8ab295977f77ce7620c2245bce7125dc4f840 /source3/include/client.h | |
parent | e1f84330baa544ebaef42492a7ea2d69cb844fea (diff) | |
download | samba-6c8d802391e0aaf375108bcd1270565983d735a8.tar.gz samba-6c8d802391e0aaf375108bcd1270565983d735a8.tar.xz samba-6c8d802391e0aaf375108bcd1270565983d735a8.zip |
s3-libsmb: move smb encryption structs into own header.
Guenther
Diffstat (limited to 'source3/include/client.h')
-rw-r--r-- | source3/include/client.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 03d4c85583c..9f8f46c4ab6 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -127,33 +127,6 @@ struct rpc_pipe_client { struct netlogon_creds_CredentialState *dc; }; -/* Transport encryption state. */ -enum smb_trans_enc_type { - SMB_TRANS_ENC_NTLM -#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5) - , SMB_TRANS_ENC_GSS -#endif -}; - -#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5) -struct smb_tran_enc_state_gss { - gss_ctx_id_t gss_ctx; - gss_cred_id_t creds; -}; -#endif - -struct smb_trans_enc_state { - enum smb_trans_enc_type smb_enc_type; - uint16 enc_ctx_num; - bool enc_on; - union { - struct ntlmssp_state *ntlmssp_state; -#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5) - struct smb_tran_enc_state_gss *gss_state; -#endif - } s; -}; - struct cli_state_seqnum { struct cli_state_seqnum *prev, *next; uint16_t mid; |