Home
last modified time | relevance | path

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

/php-src/ext/openssl/
H A Dxp_ssl.c202 unsigned sni_cert_count; member
1399 if (!(sslsock->sni_cert_count && sslsock->sni_certs)) { in php_openssl_server_sni_callback()
1403 for (i=0; i < sslsock->sni_cert_count; i++) { in php_openssl_server_sni_callback()
1469 sslsock->sni_cert_count = zend_hash_num_elements(Z_ARRVAL_P(val)); in php_openssl_enable_server_sni()
1470 if (sslsock->sni_cert_count == 0) { in php_openssl_enable_server_sni()
1477 sslsock->sni_certs = (php_openssl_sni_cert_t*)safe_pemalloc(sslsock->sni_cert_count, in php_openssl_enable_server_sni()
1480 memset(sslsock->sni_certs, 0, sslsock->sni_cert_count * sizeof(php_openssl_sni_cert_t)); in php_openssl_enable_server_sni()
2285 for (i = 0; i < sslsock->sni_cert_count; i++) { in php_openssl_sockop_close()

Completed in 12 milliseconds