diff options
author | Luca <deri@ntop.org> | 2020-01-02 07:37:03 +0100 |
---|---|---|
committer | Luca <deri@ntop.org> | 2020-01-02 07:37:03 +0100 |
commit | 8b01056b21905d4ad466aa74f7673ed06f66a64b (patch) | |
tree | ffe0b8599c94e2cf665bc879ad2f5ed9a633a1d9 /src/lib/protocols/tls.c | |
parent | f6c7a33177d4db9c7fdac054b8b0e26f99715c28 (diff) |
Renamed TLS requested server name
Diffstat (limited to 'src/lib/protocols/tls.c')
-rw-r--r-- | src/lib/protocols/tls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index 1130eb7fe..a73cc2976 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -987,8 +987,9 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct, cleanupServerName(buffer, sizeof(buffer)); - snprintf(flow->protos.stun_ssl.ssl.client_certificate, - sizeof(flow->protos.stun_ssl.ssl.client_certificate), "%s", buffer); + snprintf(flow->protos.stun_ssl.ssl.client_requested_server_name, + sizeof(flow->protos.stun_ssl.ssl.client_requested_server_name), + "%s", buffer); if(ndpi_match_hostname_protocol(ndpi_struct, flow, NDPI_PROTOCOL_TLS, buffer, strlen(buffer))) flow->l4.tcp.tls.subprotocol_detected = 1; |