Lines Matching defs:ssl
65 #include <openssl/ssl.h>
113 static int next_proto_cb(SSL *ssl, const unsigned char **data,
115 (void)ssl;
125 static int alpn_select_proto_cb(SSL *ssl, const unsigned char **out,
129 (void)ssl;
198 SSL *ssl;
199 ssl = SSL_new(ssl_ctx);
200 if (!ssl) {
204 return ssl;
253 SSL *ssl;
257 ssl = create_ssl(app_ctx->ssl_ctx);
263 app_ctx->evbase, fd, ssl, BUFFEREVENT_SSL_ACCEPTING,
279 SSL *ssl = bufferevent_openssl_get_ssl(session_data->bev);
281 if (ssl) {
282 SSL_shutdown(ssl);
698 SSL *ssl;
703 ssl = bufferevent_openssl_get_ssl(session_data->bev);
706 SSL_get0_next_proto_negotiated(ssl, &alpn, &alpnlen);
710 SSL_get0_alpn_selected(ssl, &alpn, &alpnlen);