mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 09:27:04 +00:00
added struct to store extensions
This commit is contained in:
parent
83627b7c8f
commit
1a7113a0ec
1 changed files with 5 additions and 0 deletions
|
@ -86,6 +86,7 @@ typedef struct ssl_obj_ {
|
||||||
struct timeval time_last;
|
struct timeval time_last;
|
||||||
ssl_decode_ctx *ssl_ctx;
|
ssl_decode_ctx *ssl_ctx;
|
||||||
ssl_decoder *decoder;
|
ssl_decoder *decoder;
|
||||||
|
ssl_extensions extensions;
|
||||||
|
|
||||||
int process_ciphertext;
|
int process_ciphertext;
|
||||||
|
|
||||||
|
@ -107,6 +108,10 @@ typedef struct decoder_ {
|
||||||
int (*print) PROTO_LIST((ssl_obj *,int direction,segment *seg,Data *data));
|
int (*print) PROTO_LIST((ssl_obj *,int direction,segment *seg,Data *data));
|
||||||
} decoder;
|
} decoder;
|
||||||
|
|
||||||
|
typedef struct ssl_extensions_ {
|
||||||
|
int extended_master_secret;
|
||||||
|
} ssl_extensions;
|
||||||
|
|
||||||
#define SSL_NO_DATA 1
|
#define SSL_NO_DATA 1
|
||||||
#define SSL_BAD_CONTENT_TYPE 2
|
#define SSL_BAD_CONTENT_TYPE 2
|
||||||
#define SSL_BAD_PMS 3
|
#define SSL_BAD_PMS 3
|
||||||
|
|
Loading…
Reference in a new issue