Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Dvtls.c751 size_t pem_count, stripped_pem_count = 0, pem_len; in pubkey_pem_to_der() local
762 pem_count = begin_pos - pem; in pubkey_pem_to_der()
764 if(0 != pem_count && '\n' != pem[pem_count - 1]) in pubkey_pem_to_der()
768 pem_count += 26; in pubkey_pem_to_der()
771 end_pos = strstr(pem + pem_count, "\n-----END PUBLIC KEY-----"); in pubkey_pem_to_der()
777 stripped_pem = malloc(pem_len - pem_count + 1); in pubkey_pem_to_der()
786 while(pem_count < pem_len) { in pubkey_pem_to_der()
787 if('\n' != pem[pem_count] && '\r' != pem[pem_count]) in pubkey_pem_to_der()
788 stripped_pem[stripped_pem_count++] = pem[pem_count]; in pubkey_pem_to_der()
789 ++pem_count; in pubkey_pem_to_der()