Searched refs:len1 (Results 1 – 3 of 3) sorted by relevance
/curl/lib/vtls/ |
H A D | gtls.c | 1226 size_t len1 = 0, len2 = 0; in pkp_pin_peer_pubkey() local 1251 ret = gnutls_pubkey_export(key, GNUTLS_X509_FMT_DER, NULL, &len1); in pkp_pin_peer_pubkey() 1252 if(ret != GNUTLS_E_SHORT_MEMORY_BUFFER || len1 == 0) in pkp_pin_peer_pubkey() 1255 buff1 = malloc(len1); in pkp_pin_peer_pubkey() 1259 len2 = len1; in pkp_pin_peer_pubkey() 1262 if(ret < 0 || len1 != len2) in pkp_pin_peer_pubkey() 1268 result = Curl_pin_peer_pubkey(data, pinnedpubkey, buff1, len1); in pkp_pin_peer_pubkey()
|
H A D | openssl.c | 4398 int len1 = 0, len2 = 0; local 4417 len1 = i2d_X509_PUBKEY(X509_get_X509_PUBKEY(cert), NULL); 4418 if(len1 < 1) 4421 buff1 = temp = malloc(len1); 4433 if((len1 != len2) || !temp || ((temp - buff1) != len1)) 4439 result = Curl_pin_peer_pubkey(data, pinnedpubkey, buff1, len1);
|
/curl/lib/ |
H A D | mime.c | 1733 size_t len1 = strlen(filename); in Curl_mime_contenttype() local 1734 const char *nameend = filename + len1; in Curl_mime_contenttype() 1740 if(len1 >= len2 && strcasecompare(nameend - len2, ctts[i].extension)) in Curl_mime_contenttype()
|
Completed in 28 milliseconds