Lines Matching refs:end_pos
944 char *stripped_pem, *begin_pos, *end_pos; in pubkey_pem_to_der() local
965 end_pos = strstr(pem + pem_count, "\n-----END PUBLIC KEY-----"); in pubkey_pem_to_der()
966 if(!end_pos) in pubkey_pem_to_der()
969 pem_len = end_pos - pem; in pubkey_pem_to_der()
1020 char *encoded = NULL, *pinkeycopy, *begin_pos, *end_pos; in Curl_pin_peer_pubkey() local
1055 end_pos = strstr(begin_pos, ";sha256//"); in Curl_pin_peer_pubkey()
1060 if(end_pos) in Curl_pin_peer_pubkey()
1061 end_pos[0] = '\0'; in Curl_pin_peer_pubkey()
1074 if(end_pos) { in Curl_pin_peer_pubkey()
1075 end_pos[0] = ';'; in Curl_pin_peer_pubkey()
1076 begin_pos = strstr(end_pos, "sha256//"); in Curl_pin_peer_pubkey()
1078 } while(end_pos && begin_pos); in Curl_pin_peer_pubkey()