diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssluse.c | 6 | ||||
-rw-r--r-- | lib/telnet.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index 1125bc41b..4f51e31db 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -507,7 +507,7 @@ static int Get_SSL_Session(struct connectdata *conn, if(!check->sessionid) /* not session ID means blank entry */ continue; - if(strequal(conn->name, check->name) && + if(curl_strequal(conn->name, check->name) && (conn->remote_port == check->remote_port) ) { /* yes, we have a session ID! */ data->state.sessionage++; /* increase general age */ @@ -688,7 +688,7 @@ cert_hostcheck(const char *certname, const char *hostname) !strlen(hostname)) /* sanity check */ return 0; - if(strequal(certname, hostname)) /* trivial case */ + if(curl_strequal(certname, hostname)) /* trivial case */ return 1; certdomain = certname + 1; @@ -704,7 +704,7 @@ cert_hostcheck(const char *certname, const char *hostname) if(tmp) { /* ok the certname's domain matches the hostname, let's check that it's a tail-match */ - if(strequal(tmp, certdomain)) + if(curl_strequal(tmp, certdomain)) /* looks like a match. Just check we havent swallowed a '.' */ return tmp == strchr(hostname, '.'); else diff --git a/lib/telnet.c b/lib/telnet.c index fae4926cd..a6b74bace 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -765,7 +765,7 @@ static int check_telnet_options(struct connectdata *conn) option_keyword, option_arg) == 2) { /* Terminal type */ - if(strequal(option_keyword, "TTYPE")) { + if(curl_strequal(option_keyword, "TTYPE")) { strncpy(tn->subopt_ttype, option_arg, 31); tn->subopt_ttype[31] = 0; /* String termination */ tn->us_preferred[TELOPT_TTYPE] = YES; @@ -773,7 +773,7 @@ static int check_telnet_options(struct connectdata *conn) } /* Display variable */ - if(strequal(option_keyword, "XDISPLOC")) { + if(curl_strequal(option_keyword, "XDISPLOC")) { strncpy(tn->subopt_xdisploc, option_arg, 127); tn->subopt_xdisploc[127] = 0; /* String termination */ tn->us_preferred[TELOPT_XDISPLOC] = YES; @@ -781,7 +781,7 @@ static int check_telnet_options(struct connectdata *conn) } /* Environment variable */ - if(strequal(option_keyword, "NEW_ENV")) { + if(curl_strequal(option_keyword, "NEW_ENV")) { buf = strdup(option_arg); if(!buf) return CURLE_OUT_OF_MEMORY; |