Lines Matching refs:meta_arr
1698 zval meta_arr; in capture_session_meta() local
1731 array_init(&meta_arr); in capture_session_meta()
1732 add_assoc_string(&meta_arr, "protocol", proto_str); in capture_session_meta()
1733 add_assoc_string(&meta_arr, "cipher_name", (char *) SSL_CIPHER_get_name(cipher)); in capture_session_meta()
1734 add_assoc_long(&meta_arr, "cipher_bits", SSL_CIPHER_get_bits(cipher, NULL)); in capture_session_meta()
1735 …add_assoc_string(&meta_arr, "cipher_version", php_ssl_cipher_get_version(cipher, version_str, PHP_… in capture_session_meta()
1737 return Z_ARR(meta_arr); in capture_session_meta()
1906 zval meta_arr; in php_openssl_enable_crypto() local
1907 ZVAL_ARR(&meta_arr, capture_session_meta(sslsock->ssl_handle)); in php_openssl_enable_crypto()
1908 php_stream_context_set_option(PHP_STREAM_CONTEXT(stream), "ssl", "session_meta", &meta_arr); in php_openssl_enable_crypto()
1909 zval_ptr_dtor(&meta_arr); in php_openssl_enable_crypto()