Lines Matching refs:s

61 static int not_resumable_sess_cb(SSL *s, int is_forward_secure);
62 static int sv_body(int s, int stype, int prot, unsigned char *context);
63 static int www_body(int s, int stype, int prot, unsigned char *context);
64 static int rev_body(int s, int stype, int prot, unsigned char *context);
66 static int init_ssl_connection(SSL *s);
422 static int ssl_servername_cb(SSL *s, int *ad, void *arg) in ssl_servername_cb() argument
425 const char *servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); in ssl_servername_cb()
446 SSL_set_SSL_CTX(s, ctx2); in ssl_servername_cb()
475 static int get_ocsp_resp_from_responder(SSL *s, tlsextstatusctx *srctx, in get_ocsp_resp_from_responder() argument
495 x = SSL_get_certificate(s); in get_ocsp_resp_from_responder()
521 ssl_ctx = SSL_get_SSL_CTX(s); in get_ocsp_resp_from_responder()
557 SSL_get_tlsext_status_exts(s, &exts); in get_ocsp_resp_from_responder()
597 static int cert_status_cb(SSL *s, void *arg) in cert_status_cb() argument
621 ret = get_ocsp_resp_from_responder(s, srctx, &resp); in cert_status_cb()
630 SSL_set_tlsext_status_ocsp_resp(s, rspder, rspderlen); in cert_status_cb()
655 static int next_proto_cb(SSL *s, const unsigned char **data, in next_proto_cb() argument
673 static int alpn_cb(SSL *s, const unsigned char **out, unsigned char *outlen, in alpn_cb() argument
706 static int not_resumable_sess_cb(SSL *s, int is_forward_secure) in not_resumable_sess_cb() argument
2435 static int sv_body(int s, int stype, int prot, unsigned char *context) in sv_body() argument
2458 if (!BIO_socket_nbio(s, 1)) in sv_body()
2492 sbio = BIO_new_dgram_sctp(s, BIO_NOCLOSE); in sv_body()
2495 sbio = BIO_new_dgram(s, BIO_NOCLOSE); in sv_body()
2538 sbio = BIO_new_socket(s, BIO_NOCLOSE); in sv_body()
2622 if (fileno_stdin() > s) in sv_body()
2625 width = s + 1; in sv_body()
2640 openssl_fdset(s, &readfds); in sv_body()
2678 if (FD_ISSET(s, &readfds)) in sv_body()
2708 BIO_closesocket(s); in sv_body()
2717 BIO_closesocket(s); in sv_body()
3152 static int www_body(int s, int stype, int prot, unsigned char *context) in www_body() argument
3174 width = s + 1; in www_body()
3186 if (!BIO_socket_nbio(s, 1)) in www_body()
3211 sbio = BIO_new_socket(s, BIO_NOCLOSE); in www_body()
3342 openssl_fdset(s, &readfds); in www_body()
3344 if (i <= 0 || !FD_ISSET(s, &readfds)) { in www_body()
3636 static int rev_body(int s, int stype, int prot, unsigned char *context) in rev_body() argument
3674 sbio = BIO_new_socket(s, BIO_NOCLOSE); in rev_body()