Home
last modified time | relevance | path

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

/external/openssl/patches/
Dsecadv_20101116-2.patch46 - if ((s->session->tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL)
57 + if ((s->session->tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL)
62 + s->session->tlsext_ecpointformatlist_length = ecpointformatlist_length;
63 + memcpy(s->session->tlsext_ecpointformatlist, sdata, ecpointformatlist_length);
65 - s->session->tlsext_ecpointformatlist_length = ecpointformatlist_length;
66 - memcpy(s->session->tlsext_ecpointformatlist, sdata, ecpointformatlist_length);
/external/openssl/ssl/
Dt1_lib.c771 int ecpointformatlist_length = *(sdata++); in ssl_parse_clienthello_tlsext() local
773 if (ecpointformatlist_length != size - 1) in ssl_parse_clienthello_tlsext()
786 if ((s->session->tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL) in ssl_parse_clienthello_tlsext()
791 s->session->tlsext_ecpointformatlist_length = ecpointformatlist_length; in ssl_parse_clienthello_tlsext()
792 memcpy(s->session->tlsext_ecpointformatlist, sdata, ecpointformatlist_length); in ssl_parse_clienthello_tlsext()
1049 int ecpointformatlist_length = *(sdata++); in ssl_parse_serverhello_tlsext() local
1051 if (ecpointformatlist_length != size - 1) in ssl_parse_serverhello_tlsext()
1058 if ((s->session->tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL) in ssl_parse_serverhello_tlsext()
1063 s->session->tlsext_ecpointformatlist_length = ecpointformatlist_length; in ssl_parse_serverhello_tlsext()
1064 memcpy(s->session->tlsext_ecpointformatlist, sdata, ecpointformatlist_length); in ssl_parse_serverhello_tlsext()