Home
last modified time | relevance | path

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

/PHP-8.0/ext/openssl/
H A Dxp_ssl.c169 unsigned sni_cert_count; member
1340 if (!(sslsock->sni_cert_count && sslsock->sni_certs)) { in php_openssl_server_sni_callback()
1344 for (i=0; i < sslsock->sni_cert_count; i++) { in php_openssl_server_sni_callback()
1410 sslsock->sni_cert_count = zend_hash_num_elements(Z_ARRVAL_P(val)); in php_openssl_enable_server_sni()
1411 if (sslsock->sni_cert_count == 0) { in php_openssl_enable_server_sni()
1418 sslsock->sni_certs = (php_openssl_sni_cert_t*)safe_pemalloc(sslsock->sni_cert_count, in php_openssl_enable_server_sni()
1421 memset(sslsock->sni_certs, 0, sslsock->sni_cert_count * sizeof(php_openssl_sni_cert_t)); in php_openssl_enable_server_sni()
2222 for (i = 0; i < sslsock->sni_cert_count; i++) { in php_openssl_sockop_close()

Completed in 17 milliseconds