s3-libsmb: use struct gensec_security directly
[ira/wip.git] / libcli / smb / smb_seal.h
index 9f9a8063cfb468a8ac6852f13f5847f6639ac8a6..937d0484e6ec1580cc7755c5b0fa9100e7d11120 100644 (file)
@@ -47,12 +47,7 @@ struct smb_trans_enc_state {
         enum smb_trans_enc_type smb_enc_type;
         uint16_t enc_ctx_num;
         bool enc_on;
-        union {
-                struct gensec_security *gensec_security;
-#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5)
-                struct smb_tran_enc_state_gss *gss_state;
-#endif
-        } s;
+       struct gensec_security *gensec_security;
 };
 
 /* The following definitions come from smb_seal.c  */