Home
last modified time | relevance | path

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

/external/openssl/ssl/
Dt1_lib.c642 unsigned int npalen; in ssl_add_serverhello_tlsext() local
645 r = s->ctx->next_protos_advertised_cb(s, &npa, &npalen, s->ctx->next_protos_advertised_cb_arg); in ssl_add_serverhello_tlsext()
648 if ((long)(limit - ret - 4 - npalen) < 0) return NULL; in ssl_add_serverhello_tlsext()
650 s2n(npalen,ret); in ssl_add_serverhello_tlsext()
651 memcpy(ret, npa, npalen); in ssl_add_serverhello_tlsext()
652 ret += npalen; in ssl_add_serverhello_tlsext()
/external/openssl/patches/
Dnpn.patch1165 + unsigned int npalen;
1168 + r = s->ctx->next_protos_advertised_cb(s, &npa, &npalen, s->ctx->next_protos_advertised_cb_arg);
1171 + if ((long)(limit - ret - 4 - npalen) < 0) return NULL;
1173 + s2n(npalen,ret);
1174 + memcpy(ret, npa, npalen);
1175 + ret += npalen;