#include "tlsproxy.h"
#include "verify.h"
-/* errno */
#include <errno.h>
-/* gnutls_x509_*() */
+
#include <gnutls/x509.h>
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));