Home
last modified time | relevance | path

Searched refs:ulen (Results 1 – 3 of 3) sorted by relevance

/curl/lib/
H A Dmqtt.c196 if(ulen > 0xffff) in add_user()
202 pkt[start] = (unsigned char)((ulen >> 8) & 0xFF); in add_user()
203 pkt[start + 1] = (unsigned char)(ulen & 0xFF); in add_user()
204 memcpy(&pkt[start + 2], username, ulen); in add_user()
269 const size_t ulen = strlen(username); in mqtt_connect() local
275 payloadlen = ulen + plen + MQTT_CLIENTID_LEN + 2; in mqtt_connect()
278 if(ulen) in mqtt_connect()
314 start_pwd = start_user + ulen; in mqtt_connect()
316 if(ulen) { in mqtt_connect()
319 rc = add_user(username, ulen, in mqtt_connect()
[all …]
H A Durl.c2572 size_t ulen; local
2587 ulen = (psep ?
2598 ubuf = Curl_memdup0(login, ulen);
/curl/tests/server/
H A Dsocksd.c442 unsigned char ulen; in sockit() local
453 ulen = buffer[SOCKS5_ULEN]; in sockit()
454 if(rc < 4 + ulen) { in sockit()
458 plen = buffer[SOCKS5_ULEN + ulen + 1]; in sockit()
459 if(rc < 3 + ulen + plen) { in sockit()
460 logmsg("Too short packet for ulen %d plen %d: %zd", ulen, plen, rc); in sockit()
463 if((ulen != strlen(config.user)) || in sockit()
465 memcmp(&buffer[SOCKS5_UNAME], config.user, ulen) || in sockit()
466 memcmp(&buffer[SOCKS5_UNAME + ulen + 1], config.password, plen)) { in sockit()

Completed in 24 milliseconds