Searched refs:str_sz (Results 1 – 2 of 2) sorted by relevance
857 size_t str_sz = 0; in prepare_rsa_params() local867 if ((str = OPENSSL_malloc(str_sz)) == NULL in prepare_rsa_params()868 || !WPACKET_init_der(&pkt, str, str_sz)) { in prepare_rsa_params()876 || !WPACKET_get_total_written(&pkt, &str_sz)) { in prepare_rsa_params()888 if (str_sz == 0) in prepare_rsa_params()895 ASN1_STRING_set0(astr, str, (int)str_sz); in prepare_rsa_params()
1483 size_t str_sz = ldns_b64_ntop_calculate_size(sz); in svcparam_ech2buffer_str() local1486 if (!ldns_buffer_reserve(output, str_sz)) in svcparam_ech2buffer_str()1490 , (char *)ldns_buffer_current(output), str_sz); in svcparam_ech2buffer_str()