Function ndpi_load_malicious_sha1_file

Function Documentation

int ndpi_load_malicious_sha1_file(struct ndpi_detection_module_struct *ndpi_str, const char *path)

Read a file and load the list of malicious SSL certificate SHA1 fingerprints.

ndpi_mod = the detection module
path = the path of the file
Return
0 if the file is loaded correctly; -1 else