SSL certificate analysis improvement
This commit is contained in:
@@ -749,13 +749,13 @@ char* intoaV4(u_int32_t addr, char* buf, u_int16_t bufLen) {
|
||||
|
||||
/* ********************************** */
|
||||
|
||||
static char* print_cipher(u_int8_t c) {
|
||||
static char* print_cipher(ndpi_cipher_weakness c) {
|
||||
switch(c) {
|
||||
case NDPI_CIPHER_INSECURE:
|
||||
case ndpi_cipher_insecure:
|
||||
return(" (INSECURE)");
|
||||
break;
|
||||
|
||||
case NDPI_CIPHER_WEAK:
|
||||
case ndpi_cipher_weak:
|
||||
return(" (WEAK)");
|
||||
break;
|
||||
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ typedef struct ndpi_flow_info {
|
||||
struct {
|
||||
char client_info[64], server_info[64], server_organization[64],
|
||||
ja3_client[33], ja3_server[33];
|
||||
u_int8_t client_unsafe_cipher:2, server_unsafe_cipher:2, _pad:4;
|
||||
ndpi_cipher_weakness client_unsafe_cipher, server_unsafe_cipher;
|
||||
} ssh_ssl;
|
||||
|
||||
void *src_id, *dst_id;
|
||||
|
||||
Reference in New Issue
Block a user