aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gssapi.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-11-27 10:59:09 -0500
committerAnders Broman <a.broman58@gmail.com>2015-11-28 09:20:27 +0000
commit44d98dafd49f7133569f0d982ddf0746c230322f (patch)
tree6d7cd14756c95c8a7fa246cd8df1cb36dad6edca /epan/dissectors/packet-gssapi.h
parent05121be1b4ea35257bfcd8ed38d2312b1519f370 (diff)
Remove the GSSAPI specific members out of packet_info structure.
The last piece was the NTLMSSP dissector and that is now handled by passing a pointer to a tvbuff* as dissector data for the NTLMSSP dissector to (possibly) "return" a tvbuff* with decrypted data. Change-Id: I2606172e4d0ebb5fc6353921d5b5f41a4792f9e5 Reviewed-on: https://code.wireshark.org/review/12232 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gssapi.h')
-rw-r--r--epan/dissectors/packet-gssapi.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gssapi.h b/epan/dissectors/packet-gssapi.h
index 1801bef07f..a62caaf840 100644
--- a/epan/dissectors/packet-gssapi.h
+++ b/epan/dissectors/packet-gssapi.h
@@ -34,11 +34,19 @@ typedef struct _gssapi_oid_value {
const gchar *comment; /* For the comment */
} gssapi_oid_value;
-/* Created as an attempt to remove members out of packet_info.
- Data structure to be passed between dissectors */
#define DECRYPT_GSSAPI_NORMAL 1
#define DECRYPT_GSSAPI_DCE 2
+/**< Extra data for handling of decryption of GSSAPI wrapped tvbuffs.
+ Caller sets decrypt_gssapi_tvb if this service is requested.
+ If gssapi_encrypted_tvb is NULL, then the rest of the tvb data following
+ the gssapi blob itself is decrypted othervise the gssapi_encrypted_tvb
+ tvb will be decrypted (DCERPC has the data before the gssapi blob)
+ If, on return, gssapi_data_encrypted is FALSE, the wrapped tvbuff
+ was signed (i.e., an encrypted signature was present, to check
+ whether the data was modified by a man in the middle) but not sealed
+ (i.e., the data itself wasn't encrypted).
+*/
typedef struct _gssapi_encrypt_info
{
guint16 decrypt_gssapi_tvb;