Home
last modified time | relevance | path

Searched refs:tlsext_hostname (Results 1 – 16 of 16) sorted by relevance

/external/openssl/ssl/
Dssl_asn1.c109 ASN1_OCTET_STRING tlsext_hostname; member
242 if (in->tlsext_hostname) in i2d_SSL_SESSION()
244 a.tlsext_hostname.length=strlen(in->tlsext_hostname); in i2d_SSL_SESSION()
245 a.tlsext_hostname.type=V_ASN1_OCTET_STRING; in i2d_SSL_SESSION()
246 a.tlsext_hostname.data=(unsigned char *)in->tlsext_hostname; in i2d_SSL_SESSION()
311 if (in->tlsext_hostname) in i2d_SSL_SESSION()
312 M_ASN1_I2D_len_EXP_opt(&(a.tlsext_hostname), i2d_ASN1_OCTET_STRING,6,v6); in i2d_SSL_SESSION()
353 if (in->tlsext_hostname) in i2d_SSL_SESSION()
354 M_ASN1_I2D_put_EXP_opt(&(a.tlsext_hostname), i2d_ASN1_OCTET_STRING,6,v6); in i2d_SSL_SESSION()
552 ret->tlsext_hostname = BUF_strndup((char *)os.data, os.length); in d2i_SSL_SESSION()
[all …]
Dt1_lib.c377 if (s->tlsext_hostname != NULL) in ssl_add_clienthello_tlsext()
392 || (size_str = strlen(s->tlsext_hostname)) > (unsigned long)lenmax) in ssl_add_clienthello_tlsext()
405 memcpy(ret, s->tlsext_hostname, size_str); in ssl_add_clienthello_tlsext()
717 if (!s->hit && s->servername_done == 1 && s->session->tlsext_hostname != NULL) in ssl_add_serverhello_tlsext()
1099 if(s->session->tlsext_hostname) in ssl_parse_clienthello_tlsext()
1109 if ((s->session->tlsext_hostname = OPENSSL_malloc(len+1)) == NULL) in ssl_parse_clienthello_tlsext()
1114 memcpy(s->session->tlsext_hostname, sdata, len); in ssl_parse_clienthello_tlsext()
1115 s->session->tlsext_hostname[len]='\0'; in ssl_parse_clienthello_tlsext()
1116 if (strlen(s->session->tlsext_hostname) != len) { in ssl_parse_clienthello_tlsext()
1117 OPENSSL_free(s->session->tlsext_hostname); in ssl_parse_clienthello_tlsext()
[all …]
Dssl_sess.c208 ss->tlsext_hostname = NULL; in SSL_SESSION_new()
395 if (s->tlsext_hostname) { in ssl_get_new_session()
396 ss->tlsext_hostname = BUF_strdup(s->tlsext_hostname); in ssl_get_new_session()
397 if (ss->tlsext_hostname == NULL) { in ssl_get_new_session()
769 if (ss->tlsext_hostname != NULL) OPENSSL_free(ss->tlsext_hostname); in SSL_SESSION_free()
Dssl_lib.c578 if (s->tlsext_hostname) in SSL_free()
579 OPENSSL_free(s->tlsext_hostname); in SSL_free()
1546 return s->session && !s->tlsext_hostname ? in SSL_get_servername()
1547 s->session->tlsext_hostname : in SSL_get_servername()
1548 s->tlsext_hostname; in SSL_get_servername()
1553 if (s->session && (!s->tlsext_hostname ? s->session->tlsext_hostname : s->tlsext_hostname)) in SSL_get_servername_type()
Ds3_lib.c3263 if (s->tlsext_hostname != NULL) in ssl3_ctrl()
3264 OPENSSL_free(s->tlsext_hostname); in ssl3_ctrl()
3265 s->tlsext_hostname = NULL; in ssl3_ctrl()
3275 if ((s->tlsext_hostname = BUF_strdup((char *)parg)) == NULL) in ssl3_ctrl()
Ds23_clnt.c335 if (s->tlsext_hostname != NULL) in ssl23_client_hello()
Dssl.h532 char *tlsext_hostname; member
1333 char *tlsext_hostname; member
/external/chromium_org/third_party/openssl/openssl/ssl/
Dssl_asn1.c109 ASN1_OCTET_STRING tlsext_hostname; member
242 if (in->tlsext_hostname) in i2d_SSL_SESSION()
244 a.tlsext_hostname.length=strlen(in->tlsext_hostname); in i2d_SSL_SESSION()
245 a.tlsext_hostname.type=V_ASN1_OCTET_STRING; in i2d_SSL_SESSION()
246 a.tlsext_hostname.data=(unsigned char *)in->tlsext_hostname; in i2d_SSL_SESSION()
311 if (in->tlsext_hostname) in i2d_SSL_SESSION()
312 M_ASN1_I2D_len_EXP_opt(&(a.tlsext_hostname), i2d_ASN1_OCTET_STRING,6,v6); in i2d_SSL_SESSION()
353 if (in->tlsext_hostname) in i2d_SSL_SESSION()
354 M_ASN1_I2D_put_EXP_opt(&(a.tlsext_hostname), i2d_ASN1_OCTET_STRING,6,v6); in i2d_SSL_SESSION()
552 ret->tlsext_hostname = BUF_strndup((char *)os.data, os.length); in d2i_SSL_SESSION()
[all …]
Dt1_lib.c358 if (s->tlsext_hostname != NULL) in ssl_add_clienthello_tlsext()
373 || (size_str = strlen(s->tlsext_hostname)) > (unsigned long)lenmax) in ssl_add_clienthello_tlsext()
386 memcpy(ret, s->tlsext_hostname, size_str); in ssl_add_clienthello_tlsext()
686 if (!s->hit && s->servername_done == 1 && s->session->tlsext_hostname != NULL) in ssl_add_serverhello_tlsext()
970 if(s->session->tlsext_hostname) in ssl_parse_clienthello_tlsext()
980 if ((s->session->tlsext_hostname = OPENSSL_malloc(len+1)) == NULL) in ssl_parse_clienthello_tlsext()
985 memcpy(s->session->tlsext_hostname, sdata, len); in ssl_parse_clienthello_tlsext()
986 s->session->tlsext_hostname[len]='\0'; in ssl_parse_clienthello_tlsext()
987 if (strlen(s->session->tlsext_hostname) != len) { in ssl_parse_clienthello_tlsext()
988 OPENSSL_free(s->session->tlsext_hostname); in ssl_parse_clienthello_tlsext()
[all …]
Dssl_sess.c208 ss->tlsext_hostname = NULL; in SSL_SESSION_new()
395 if (s->tlsext_hostname) { in ssl_get_new_session()
396 ss->tlsext_hostname = BUF_strdup(s->tlsext_hostname); in ssl_get_new_session()
397 if (ss->tlsext_hostname == NULL) { in ssl_get_new_session()
769 if (ss->tlsext_hostname != NULL) OPENSSL_free(ss->tlsext_hostname); in SSL_SESSION_free()
Dssl_lib.c567 if (s->tlsext_hostname) in SSL_free()
568 OPENSSL_free(s->tlsext_hostname); in SSL_free()
1533 return s->session && !s->tlsext_hostname ? in SSL_get_servername()
1534 s->session->tlsext_hostname : in SSL_get_servername()
1535 s->tlsext_hostname; in SSL_get_servername()
1540 if (s->session && (!s->tlsext_hostname ? s->session->tlsext_hostname : s->tlsext_hostname)) in SSL_get_servername_type()
Ds3_lib.c3310 if (s->tlsext_hostname != NULL) in ssl3_ctrl()
3311 OPENSSL_free(s->tlsext_hostname); in ssl3_ctrl()
3312 s->tlsext_hostname = NULL; in ssl3_ctrl()
3322 if ((s->tlsext_hostname = BUF_strdup((char *)parg)) == NULL) in ssl3_ctrl()
Ds23_clnt.c335 if (s->tlsext_hostname != NULL) in ssl23_client_hello()
Dssl.h535 char *tlsext_hostname; member
1312 char *tlsext_hostname; member
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Dssl.h535 char *tlsext_hostname; member
1312 char *tlsext_hostname; member
/external/openssl/include/openssl/
Dssl.h532 char *tlsext_hostname; member
1333 char *tlsext_hostname; member