SSL certificate analysis improvement

This commit is contained in:
Luca Deri
2019-05-20 22:30:53 +02:00
parent 3f9383c343
commit 04b543caa9
4 changed files with 29 additions and 23 deletions
+3 -3
View File
@@ -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
View File
@@ -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;