Lines Matching defs:ssl
77 const char *get_tls_protocol(SSL *ssl) {
78 switch (SSL_version(ssl)) {
98 TLSSessionInfo *get_tls_session_info(TLSSessionInfo *tls_info, SSL *ssl) {
99 if (!ssl) {
103 auto session = SSL_get_session(ssl);
108 tls_info->cipher = SSL_get_cipher_name(ssl);
109 tls_info->protocol = get_tls_protocol(ssl);
110 tls_info->session_reused = SSL_session_reused(ssl);
135 bool check_http2_cipher_block_list(SSL *ssl) {
136 int id = SSL_CIPHER_get_id(SSL_get_current_cipher(ssl)) & 0xFFFFFF;
141 bool check_http2_tls_version(SSL *ssl) {
142 auto tls_ver = SSL_version(ssl);
147 bool check_http2_requirement(SSL *ssl) {
148 return check_http2_tls_version(ssl) && !check_http2_cipher_block_list(ssl);