X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_ssl_gnutls.c;h=7b6cb094a0fda42b3d1b249df76e72043e6be2a5;hp=e160bd6afe0defda7992a8e2cb21321839344756;hb=1b29c92e5a96be51f4a16728a73485eb4daf6563;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/mutt_ssl_gnutls.c b/mutt_ssl_gnutls.c index e160bd6..7b6cb09 100644 --- a/mutt_ssl_gnutls.c +++ b/mutt_ssl_gnutls.c @@ -412,8 +412,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 (safe_strcmp (linestr + pmatch[1].rm_so, hostname) == 0 && - safe_strcmp (linestr + pmatch[2].rm_so, buf) == 0) { + if (mutt_strcmp (linestr + pmatch[1].rm_so, hostname) == 0 && + mutt_strcmp (linestr + pmatch[2].rm_so, buf) == 0) { regfree (&preg); FREE(&linestr); fclose (fp);