Home
last modified time | relevance | path

Searched refs:buff1 (Results 1 – 2 of 2) sorted by relevance

/curl/lib/vtls/
H A Dgtls.c1227 unsigned char *buff1 = NULL; in pkp_pin_peer_pubkey() local
1255 buff1 = malloc(len1); in pkp_pin_peer_pubkey()
1256 if(!buff1) in pkp_pin_peer_pubkey()
1261 ret = gnutls_pubkey_export(key, GNUTLS_X509_FMT_DER, buff1, &len2); in pkp_pin_peer_pubkey()
1268 result = Curl_pin_peer_pubkey(data, pinnedpubkey, buff1, len1); in pkp_pin_peer_pubkey()
1274 Curl_safefree(buff1); in pkp_pin_peer_pubkey()
H A Dopenssl.c4399 unsigned char *buff1 = NULL, *temp = NULL; local
4421 buff1 = temp = malloc(len1);
4422 if(!buff1)
4433 if((len1 != len2) || !temp || ((temp - buff1) != len1))
4439 result = Curl_pin_peer_pubkey(data, pinnedpubkey, buff1, len1);
4442 if(buff1)
4443 free(buff1);

Completed in 20 milliseconds