/external/openssl/ssl/ |
D | ssl_asn1.c | 109 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 …]
|
D | t1_lib.c | 377 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 …]
|
D | ssl_sess.c | 208 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()
|
D | ssl_lib.c | 578 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()
|
D | s3_lib.c | 3263 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()
|
D | s23_clnt.c | 335 if (s->tlsext_hostname != NULL) in ssl23_client_hello()
|
D | ssl.h | 532 char *tlsext_hostname; member 1333 char *tlsext_hostname; member
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
D | ssl_asn1.c | 109 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 …]
|
D | t1_lib.c | 358 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 …]
|
D | ssl_sess.c | 208 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()
|
D | ssl_lib.c | 567 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()
|
D | s3_lib.c | 3310 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()
|
D | s23_clnt.c | 335 if (s->tlsext_hostname != NULL) in ssl23_client_hello()
|
D | ssl.h | 535 char *tlsext_hostname; member 1312 char *tlsext_hostname; member
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | ssl.h | 535 char *tlsext_hostname; member 1312 char *tlsext_hostname; member
|
/external/openssl/include/openssl/ |
D | ssl.h | 532 char *tlsext_hostname; member 1333 char *tlsext_hostname; member
|