fclose(file);
/* Check if the server certificate matches our stored certificate. */
- if (strcmp(stored_cert, server_cert) != 0) {
+ if (strcmp(stored_cert, server_cert)) {
LOG(LOG_ERROR,
"verify_tls_connection(): server certificate changed!",
path, strerror(errno));