Home
last modified time | relevance | path

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

/third_party/curl/lib/vtls/
Dvtls.c923 char *stripped_pem, *begin_pos, *end_pos; in pubkey_pem_to_der() local
950 stripped_pem = malloc(pem_len - pem_count + 1); in pubkey_pem_to_der()
951 if(!stripped_pem) in pubkey_pem_to_der()
961 stripped_pem[stripped_pem_count++] = pem[pem_count]; in pubkey_pem_to_der()
965 stripped_pem[stripped_pem_count] = '\0'; in pubkey_pem_to_der()
967 result = Curl_base64_decode(stripped_pem, der, der_len); in pubkey_pem_to_der()
969 Curl_safefree(stripped_pem); in pubkey_pem_to_der()