• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/ssl/

Lines Matching defs:c_ssl

726 int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time,
728 int doit(SSL *s_ssl, SSL *c_ssl, long bytes);
825 static void print_details(SSL *c_ssl, const char *prefix)
830 ciph = SSL_get_current_cipher(c_ssl);
833 SSL_get_version(c_ssl),
835 cert = SSL_get_peer_certificate(c_ssl);
963 SSL *c_ssl, *s_ssl;
1682 c_ssl = SSL_new(c_ctx);
1686 SSL_set_tlsext_host_name(c_ssl, sn_client);
1689 if (c_ssl && c_ssl->kssl_ctx) {
1698 kssl_ctx_setstring(c_ssl->kssl_ctx, KSSL_SERVER, localhost);
1705 SSL_set_session(c_ssl, NULL);
1707 ret = doit_biopair(s_ssl, c_ssl, bytes, &s_time, &c_time);
1709 ret = doit(s_ssl, c_ssl, bytes);
1713 print_details(c_ssl, "");
1741 if (verify_alpn(c_ssl, s_ssl) < 0)
1743 if (verify_servername(c_ssl, s_ssl) < 0)
1747 SSL_free(c_ssl);
1777 int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
1800 SSL_set_connect_state(c_ssl);
1801 SSL_set_bio(c_ssl, client, client);
1802 (void)BIO_set_ssl(c_ssl_bio, c_ssl, BIO_NOCLOSE);
1861 if (SSL_in_init(c_ssl))
1863 SSL_state_string_long(c_ssl));
2095 if (strcmp("SSLv2", SSL_get_version(c_ssl)) == 0) {
2099 if (strncmp("2SCF", SSL_state_string(c_ssl), 4) == 0
2115 print_details(c_ssl, "DONE via BIO pair: ");
2154 int doit(SSL *s_ssl, SSL *c_ssl, long count)
2196 SSL_set_connect_state(c_ssl);
2197 SSL_set_bio(c_ssl, s_to_c, c_to_s);
2198 SSL_set_max_send_fragment(c_ssl, max_frag);
2199 BIO_set_ssl(c_bio, c_ssl, BIO_NOCLOSE);
2237 if (SSL_in_init(c_ssl))
2239 SSL_state_string_long(c_ssl));
2280 SSL_set_max_send_fragment(c_ssl, max_frag -= 5);
2392 print_details(c_ssl, "DONE: ");
2406 * when c_ssl is SSL_free()ed. This is a hack required because s_ssl and
2407 * c_ssl are sharing the same BIO structure and SSL_set_bio() and
2415 if (c_ssl != NULL) {
2416 c_ssl->rbio = NULL;
2417 c_ssl->wbio = NULL;