diff options
author | Luca Deri <deri@ntop.org> | 2016-06-19 20:48:05 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2016-06-19 20:48:05 +0200 |
commit | 539ab241cd499d2cd0d4dea758ca4769abe7e9d6 (patch) | |
tree | c6a5a5ad83edcb07faa7e95da04e4dc0386ab56c /src | |
parent | f18b7c5e140db95f1ab4e816ac182285ce3cce14 (diff) |
Reverted https://github.com/ntop/nDPI/commit/392a14241fa68512099ea6096a640275461af7d0 that prevented Tor dissector to work
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/tor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/tor.c b/src/lib/protocols/tor.c index 7903bf511..1a538eefd 100644 --- a/src/lib/protocols/tor.c +++ b/src/lib/protocols/tor.c @@ -24,7 +24,7 @@ int ndpi_is_ssl_tor(struct ndpi_detection_module_struct *ndpi_struct, if((certificate == NULL) || (strlen(certificate) < 6) - || !(strncmp(certificate, "www.", 4))) + || (strncmp(certificate, "www.", 4))) return(0); // printf("***** [SSL] %s(): %s\n", __FUNCTION__, certificate); |