Home
last modified time | relevance | path

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

/external/openssl/ssl/
Dt1_lib.c895 unsigned int npalen; in ssl_add_serverhello_tlsext() local
898 r = s->ctx->next_protos_advertised_cb(s, &npa, &npalen, s->ctx->next_protos_advertised_cb_arg); in ssl_add_serverhello_tlsext()
901 if ((long)(limit - ret - 4 - npalen) < 0) return NULL; in ssl_add_serverhello_tlsext()
903 s2n(npalen,ret); in ssl_add_serverhello_tlsext()
904 memcpy(ret, npa, npalen); in ssl_add_serverhello_tlsext()
905 ret += npalen; in ssl_add_serverhello_tlsext()
/external/chromium_org/third_party/boringssl/src/ssl/
Dt1_lib.c1312 unsigned int npalen; in ssl_add_serverhello_tlsext() local
1315 r = s->ctx->next_protos_advertised_cb(s, &npa, &npalen, s->ctx->next_protos_advertised_cb_arg); in ssl_add_serverhello_tlsext()
1318 if ((long)(limit - ret - 4 - npalen) < 0) return NULL; in ssl_add_serverhello_tlsext()
1320 s2n(npalen,ret); in ssl_add_serverhello_tlsext()
1321 memcpy(ret, npa, npalen); in ssl_add_serverhello_tlsext()
1322 ret += npalen; in ssl_add_serverhello_tlsext()