When enabled, the neo4j client will check if a host has been previously
trusted and stored into the "known hosts" file, and that the host
fingerprint still matches the previously accepted value. This is enabled by
default.
If verification fails, the callback set with
neo4j_config_set_unverified_host_callback() will be invoked.
@param config The neo4j client configuration to update.
@param enabletrue to enable trusting of known hosts, and false to
disable this behaviour.
@return 0 on success, or -1 on error (errno will be set).
Enable or disable trusting of known hosts.
When enabled, the neo4j client will check if a host has been previously trusted and stored into the "known hosts" file, and that the host fingerprint still matches the previously accepted value. This is enabled by default.
If verification fails, the callback set with neo4j_config_set_unverified_host_callback() will be invoked.
@param config The neo4j client configuration to update. @param enable true to enable trusting of known hosts, and false to disable this behaviour. @return 0 on success, or -1 on error (errno will be set).