X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_ssl_gnutls.c;h=2b44e2611567026e0551d58caa0c4cf132415312;hp=c8e0ce02594423450aef4809789e141427481dbd;hb=ae0ce4dfcafa0c3820f107c5bfa8bd06e5272b57;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd diff --git a/mutt_ssl_gnutls.c b/mutt_ssl_gnutls.c index c8e0ce0..2b44e26 100644 --- a/mutt_ssl_gnutls.c +++ b/mutt_ssl_gnutls.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "mutt.h" #include "mutt_socket.h" @@ -415,8 +416,8 @@ static int tls_check_stored_hostname (const gnutls_datum * cert, if (regexec (&preg, linestr, 3, pmatch, 0) == 0) { linestr[pmatch[1].rm_eo] = '\0'; linestr[pmatch[2].rm_eo] = '\0'; - if (str_cmp (linestr + pmatch[1].rm_so, hostname) == 0 && - str_cmp (linestr + pmatch[2].rm_so, buf) == 0) { + if (m_strcmp(linestr + pmatch[1].rm_so, hostname) == 0 && + m_strcmp(linestr + pmatch[2].rm_so, buf) == 0) { regfree (&preg); p_delete(&linestr); fclose (fp);