Searched refs:ssl (Results 1 - 15 of 15) sorted by relevance

/httpd/modules/ssl/
H A Dmod_ssl_openssl.h36 /* must be defined before including ssl.h */
39 #include <openssl/ssl.h>
51 APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, init_server,
57 * @param ssl OpenSSL SSL Connection for the client or backend server
60 APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, pre_handshake,
61 (conn_rec *c, SSL *ssl, int is_proxy))
67 * @param ssl OpenSSL SSL Connection for the client or backend server
69 APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, proxy_post_handshake,
70 (conn_rec *c, SSL *ssl))
H A Dssl_engine_kernel.c51 SSL *ssl; local
76 ssl = sslconn->ssl;
79 SSL_set_accept_state(ssl);
80 SSL_do_handshake(ssl);
82 if (SSL_get_state(ssl) != SSL_ST_OK) {
127 SSL *ssl; local
163 ssl = sslconn->ssl;
164 if (!ssl) {
303 SSL *ssl = sslconn ? sslconn->ssl : NULL; local
1168 SSL *ssl; local
1260 SSL *ssl = sslconn ? sslconn->ssl : NULL; local
1289 SSL *ssl = sslconn ? sslconn->ssl : NULL; local
1339 ssl_callback_TmpDH(SSL *ssl, int export, int keylen) argument
1385 SSL *ssl = X509_STORE_CTX_get_ex_data(ctx, local
1559 ssl_callback_proxy_cert(SSL *ssl, X509 **x509, EVP_PKEY **pkey) argument
1683 ssl_callback_NewSessionCacheEntry(SSL *ssl, SSL_SESSION *session) argument
1734 ssl_callback_GetSessionCacheEntry(SSL *ssl, unsigned char *id, int idlen, int *do_copy) argument
1806 log_tracing_state(const SSL *ssl, conn_rec *c, server_rec *s, int where, int rc) argument
1877 ssl_callback_Info(const SSL *ssl, int where, int rc) argument
1922 ssl_callback_ServerNameIndication(SSL *ssl, int *al, modssl_ctx_t *mctx) argument
1977 SSL *ssl; local
2101 ssl_callback_SessionTicket(SSL *ssl, unsigned char *keyname, unsigned char *iv, EVP_CIPHER_CTX *cipher_ctx, HMAC_CTX *hctx, int mode) argument
2216 ssl_callback_alpn_select(SSL *ssl, const unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg) argument
2318 ssl_callback_AdvertiseNextProtos(SSL *ssl, const unsigned char **data_out, unsigned int *size_out, void *arg) argument
2403 ssl_callback_SRPServerParams(SSL *ssl, int *ad, void *arg) argument
[all...]
H A Dssl_engine_vars.c50 static char *ssl_var_lookup_ssl_cert_rfc4523_cea(apr_pool_t *p, SSL *ssl);
54 static void ssl_var_lookup_ssl_cipher_bits(SSL *ssl, int *usekeysize, int *algkeysize);
56 static char *ssl_var_lookup_ssl_compress_meth(SSL *ssl);
61 return sslconn && sslconn->ssl;
84 if (!sslconn || !sslconn->ssl) {
88 l = SSL_get_peer_finished(sslconn->ssl, cb, TLS_CB_MAX);
91 l = SSL_get_finished(sslconn->ssl, cb, TLS_CB_MAX);
94 x = SSL_get_certificate(sslconn->ssl);
97 x = SSL_get_peer_certificate(sslconn->ssl);
319 && sslconn && sslconn->ssl)
397 SSL *ssl; local
789 ssl_var_lookup_ssl_cert_rfc4523_cea(apr_pool_t *p, SSL *ssl) argument
844 SSL *ssl; local
879 SSL *ssl; local
907 ssl_var_lookup_ssl_cipher_bits(SSL *ssl, int *usekeysize, int *algkeysize) argument
981 modssl_var_extract_dns(apr_table_t *t, SSL *ssl, apr_pool_t *p) argument
1027 modssl_var_extract_san_entries(apr_table_t *t, SSL *ssl, apr_pool_t *p) argument
1082 SSL *ssl = NULL; local
1156 ssl_var_lookup_ssl_compress_meth(SSL *ssl) argument
[all...]
H A Dmod_ssl.c41 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ssl, SSL, int, pre_handshake,
42 (conn_rec *c,SSL *ssl,int is_proxy),
43 (c,ssl,is_proxy), OK, DECLINED);
369 * Let us cleanup the ssl library when the module is unloaded
516 SSL *ssl; local
541 if (!(ssl = SSL_new(mctx->ssl_ctx))) {
552 rc = ssl_run_pre_handshake(c, ssl, sslconn->is_proxy ? 1 : 0);
560 if (!SSL_set_session_id_context(ssl, (unsigned char *)vhost_md5,
572 SSL_set_app_data(ssl, c);
573 SSL_set_app_data2(ssl, NUL
[all...]
H A Dssl_util_ssl.h64 int SSL_smart_shutdown(SSL *ssl);
H A Dssl_util_ssl.c60 void *SSL_get_app_data2(SSL *ssl) argument
62 return (void *)SSL_get_ex_data(ssl, SSL_app_data2_idx);
65 void SSL_set_app_data2(SSL *ssl, void *arg) argument
67 SSL_set_ex_data(ssl, SSL_app_data2_idx, (char *)arg);
124 int SSL_smart_shutdown(SSL *ssl) argument
138 flush = !(SSL_get_shutdown(ssl) & SSL_SENT_SHUTDOWN);
140 rc = SSL_shutdown(ssl);
141 if (rc >= 0 && flush && (SSL_get_shutdown(ssl) & SSL_SENT_SHUTDOWN)) {
145 if (BIO_flush(SSL_get_wbio(ssl)) <= 0) {
H A Dssl_util_stapling.c182 SSL *ssl)
187 x = SSL_get_certificate(ssl);
309 static int stapling_set_response(SSL *ssl, OCSP_RESPONSE *rsp) argument
317 SSL_set_tlsext_status_ocsp_resp(ssl, rspder, rspderlen);
388 static BOOL stapling_renew_response(server_rec *s, modssl_ctx_t *mctx, SSL *ssl, argument
392 conn_rec *conn = (conn_rec *)SSL_get_app_data(ssl);
418 SSL_get_tlsext_status_exts(ssl, &exts);
590 static int stapling_cb(SSL *ssl, void *arg) argument
592 conn_rec *conn = (conn_rec *)SSL_get_app_data(ssl);
611 cinf = stapling_get_certinfo(s, mctx, ssl);
181 stapling_get_certinfo(server_rec *s, modssl_ctx_t *mctx, SSL *ssl) argument
[all...]
H A Dssl_engine_io.c35 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ssl, SSL, int, proxy_post_handshake,
36 (conn_rec *c,SSL *ssl),
37 (c,ssl),OK,DECLINED);
307 SSL *ssl; member in struct:__anon319
908 SSL_free(inctx->ssl);
909 sslconn->ssl = NULL;
910 inctx->ssl = NULL;
972 SSL *ssl = filter_ctx->pssl; local
979 if (!ssl) {
1053 SSL_set_shutdown(ssl, shutdown_typ
2007 ssl_io_input_add_filter(ssl_filter_ctx_t *filter_ctx, conn_rec *c, request_rec *r, SSL *ssl) argument
2036 ssl_io_filter_init(conn_rec *c, request_rec *r, SSL *ssl) argument
2167 SSL *ssl; local
[all...]
H A Dssl_private.h87 /* must be defined before including ssl.h */
90 #include <openssl/ssl.h>
205 APLOG_USE_MODULE(ssl); variable
423 SSL *ssl; member in struct:__anon334
812 int ssl_callback_proxy_cert(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
826 int ssl_callback_alpn_select(SSL *ssl, const unsigned char **out,
831 int ssl_callback_AdvertiseNextProtos(SSL *ssl, const unsigned char **data, unsigned int *len, void *arg);
917 #define SSL_CACHE_MUTEX_TYPE "ssl-cache"
918 #define SSL_STAPLING_MUTEX_TYPE "ssl-stapling"
956 /* Extract SSL_*_DN_* variables into table 't' from SSL object 'ssl',
[all...]
H A Dmod_ssl_ct.c174 #define SSL_CT_MUTEX_TYPE "ssl-ct-sct-update"
1458 x = SSL_CTX_get0_certificate(ctx); /* UNDOC (mentioned in ssl.pod) */
1935 static int ocsp_resp_cb(SSL *ssl, void *arg) argument
1937 conn_rec *c = (conn_rec *)SSL_get_app_data(ssl);
1947 len = SSL_get_tlsext_status_ocsp_resp(ssl, &p); /* UNDOC */
2017 static int client_extension_add_callback(SSL *ssl, unsigned ext_type, argument
2022 conn_rec *c = (conn_rec *)SSL_get_app_data(ssl);
2035 static int client_extension_parse_callback(SSL *ssl, unsigned ext_type, argument
2039 conn_rec *c = (conn_rec *)SSL_get_app_data(ssl);
2048 * SSL_get_peer_certificate(ssl)
2134 ssl_ct_proxy_post_handshake(conn_rec *c, SSL *ssl) argument
2259 server_extension_parse_callback(SSL *ssl, unsigned ext_type, const unsigned char *in, size_t inlen, int *al, void *arg) argument
2279 server_extension_add_callback(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) argument
2329 tlsext_cb(SSL *ssl, int client_server, int type, unsigned char *data, int len, void *arg) argument
2343 ssl_ct_pre_handshake(conn_rec *c, SSL *ssl, int is_proxy) argument
[all...]
H A Dssl_engine_init.c34 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ssl, SSL, int, init_server,
995 SSL *ssl; local
1084 ssl = SSL_new(mctx->ssl_ctx);
1085 if (ssl) {
1087 SSL_set_connect_state(ssl);
1088 cert = SSL_get_certificate(ssl);
1090 if (!ssl || !cert) {
1095 if (ssl)
1096 SSL_free(ssl);
1121 SSL_free(ssl);
[all...]
/httpd/build/pkg/
H A Dbuildpkg.sh72 --enable-ssl --with-ssl \
/httpd/support/
H A Dab.c77 ** Introduces four 'if (int == value)' tests per non-ssl request.
166 #include <openssl/ssl.h>
248 SSL *ssl; member in struct:connection
568 static int ssl_print_connection_info(BIO *bio, SSL *ssl) argument
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));
[all...]
H A Dctauditscts21 import ssl namespace
82 pem = ssl.DER_cert_to_PEM_cert(log_bytes[leaf[0]:leaf[0] + leaf[1]])
/httpd/test/
H A Dmake_sni.sh110 mkdir -p ${DIR}/ssl ${DIR}/htdocs ${DIR}/logs || exit 1
263 cat ${DIR}/$n.pem ${DIR}/$n.key > ${DIR}/ssl/$n.crt
293 SSLCertificateFile ${DIR}/ssl/$n.crt
330 - ssl directory with an ssl cert (signed by root)

Completed in 49 milliseconds