Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Dvtls.c823 size_t pem_count, stripped_pem_count = 0, pem_len; in pubkey_pem_to_der() local
834 pem_count = begin_pos - pem; in pubkey_pem_to_der()
836 if(0 != pem_count && '\n' != pem[pem_count - 1]) in pubkey_pem_to_der()
840 pem_count += 26; in pubkey_pem_to_der()
843 end_pos = strstr(pem + pem_count, "\n-----END PUBLIC KEY-----"); in pubkey_pem_to_der()
849 stripped_pem = malloc(pem_len - pem_count + 1); in pubkey_pem_to_der()
858 while(pem_count < pem_len) { in pubkey_pem_to_der()
859 if('\n' != pem[pem_count] && '\r' != pem[pem_count]) in pubkey_pem_to_der()
860 stripped_pem[stripped_pem_count++] = pem[pem_count]; in pubkey_pem_to_der()
861 ++pem_count; in pubkey_pem_to_der()