Lines Matching refs:ssl
77 ** Introduces four 'if (int == value)' tests per non-ssl request.
166 #include <openssl/ssl.h>
248 SSL *ssl;
568 static int ssl_print_connection_info(BIO *bio, SSL *ssl)
573 BIO_printf(bio,"Transport Protocol :%s\n", SSL_get_version(ssl));
575 c = SSL_get_current_cipher(ssl);
624 sk = SSL_get_peer_cert_chain(c->ssl);
632 cert = SSL_get_peer_certificate(c->ssl);
640 ssl_print_connection_info(bio_err,c->ssl);
641 SSL_SESSION_print(bio_err, SSL_get_session(c->ssl));
651 ret = SSL_do_handshake(c->ssl);
652 ecode = SSL_get_error(c->ssl, ret);
663 ci = SSL_get_current_cipher(c->ssl);
665 cert = SSL_get_peer_certificate(c->ssl);
673 SSL_get_version(c->ssl),
735 if (c->ssl) {
737 e_ssl = SSL_write(c->ssl,request + c->rwrote, l);
1280 if ((c->ssl = SSL_new(ssl_ctx)) == NULL) {
1288 SSL_set_bio(c->ssl, bio, bio);
1289 SSL_set_connect_state(c->ssl);
1295 c->ssl = NULL;
1328 if (c->ssl) {
1376 if (c->ssl) {
1377 SSL_shutdown(c->ssl);
1378 SSL_free(c->ssl);
1379 c->ssl = NULL;
1403 if (c->ssl) {
1404 status = SSL_read(c->ssl, buffer, r);
1406 int scode = SSL_get_error(c->ssl, status);
1842 if (c->state == STATE_CONNECTED && c->ssl && SSL_in_init(c->ssl)) {
1898 if (c->ssl)