Home
last modified time | relevance | path

Searched refs:sbio (Results 1 – 25 of 255) sorted by relevance

1234567891011

/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/smugfs/
H A Dopenssl.c20 BIO *sbio; member
27 BIO *sbio; in opensslconnect() local
39 sbio = BIO_new_ssl_connect(ctx); in opensslconnect()
40 BIO_get_ssl(sbio, &ssl); in opensslconnect()
44 BIO_set_conn_hostname(sbio, buf); in opensslconnect()
46 if(BIO_do_connect(sbio) <= 0 || BIO_do_handshake(sbio) <= 0){ in opensslconnect()
48 BIO_free_all(sbio); in opensslconnect()
54 pfd->sbio = sbio; in opensslconnect()
63 BIO_free_all(pfd->sbio); in opensslclose()
76 if((m = BIO_write(pfd->sbio, p+total, n-total)) <= 0){ in opensslwrite()
[all …]
/dports/www/h2o-devel/h2o-dcc7134/deps/ssl-conservatory/openssl/
H A Dtest_client.c38 static void send_http_get_and_print(BIO * sbio) { in send_http_get_and_print() argument
43 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in send_http_get_and_print()
45 len = BIO_read(sbio, tmpbuf, 1024); in send_http_get_and_print()
54 BIO *sbio; in main() local
84 sbio = BIO_new_ssl_connect(ssl_ctx); in main()
85 BIO_get_ssl(sbio, &ssl); in main()
92 BIO_set_conn_hostname(sbio, TARGET_SERVER); in main()
122 send_http_get_and_print(sbio); in main()
129 BIO_ssl_shutdown(sbio); in main()
132 BIO_free_all(sbio); in main()
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/openssl-src-111.9.0+1.1.1g/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.14.0+1.1.1j/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
H A Dclient-conf.c17 BIO *sbio = NULL, *out = NULL; in main() local
82 sbio = BIO_new_ssl_connect(ctx); in main()
84 BIO_get_ssl(sbio, &ssl); in main()
96 BIO_set_conn_hostname(sbio, connect_str); in main()
99 if (BIO_do_connect(sbio) <= 0) { in main()
105 if (BIO_do_handshake(sbio) <= 0) { in main()
113 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
115 len = BIO_read(sbio, tmpbuf, 1024); in main()
122 BIO_free_all(sbio); in main()
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.15.0+1.1.1k/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL;
74 sbio = BIO_new_ssl_connect(ctx);
76 BIO_get_ssl(sbio, &ssl);
88 BIO_set_conn_hostname(sbio, connect_str);
91 if (BIO_do_connect(sbio) <= 0) {
97 if (BIO_do_handshake(sbio) <= 0) {
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
107 len = BIO_read(sbio, tmpbuf, 1024);
114 BIO_free_all(sbio);
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL;
74 sbio = BIO_new_ssl_connect(ctx);
76 BIO_get_ssl(sbio, &ssl);
88 BIO_set_conn_hostname(sbio, connect_str);
91 if (BIO_do_connect(sbio) <= 0) {
97 if (BIO_do_handshake(sbio) <= 0) {
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
107 len = BIO_read(sbio, tmpbuf, 1024);
114 BIO_free_all(sbio);
/dports/sysutils/exa/exa-0.10.1/cargo-crates/openssl-src-111.15.0+1.1.1k/openssl/demos/bio/
H A Dclient-arg.c16 BIO *sbio = NULL, *out = NULL; in main() local
74 sbio = BIO_new_ssl_connect(ctx); in main()
76 BIO_get_ssl(sbio, &ssl); in main()
88 BIO_set_conn_hostname(sbio, connect_str); in main()
91 if (BIO_do_connect(sbio) <= 0) { in main()
97 if (BIO_do_handshake(sbio) <= 0) { in main()
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
107 len = BIO_read(sbio, tmpbuf, 1024); in main()
114 BIO_free_all(sbio); in main()
/dports/security/openssl-legacy-static/openssl-1.0.2u/demos/bio/
H A Dclient-arg.c6 BIO *sbio = NULL, *out = NULL; in main() local
68 sbio = BIO_new_ssl_connect(ctx); in main()
70 BIO_get_ssl(sbio, &ssl); in main()
82 BIO_set_conn_hostname(sbio, connect_str); in main()
85 if (BIO_do_connect(sbio) <= 0) { in main()
91 if (BIO_do_handshake(sbio) <= 0) { in main()
99 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
101 len = BIO_read(sbio, tmpbuf, 1024); in main()
108 BIO_free_all(sbio); in main()
/dports/security/openssl-unsafe/openssl-c9ba19c/demos/bio/
H A Dclient-arg.c6 BIO *sbio = NULL, *out = NULL; in main() local
68 sbio = BIO_new_ssl_connect(ctx); in main()
70 BIO_get_ssl(sbio, &ssl); in main()
82 BIO_set_conn_hostname(sbio, connect_str); in main()
85 if (BIO_do_connect(sbio) <= 0) { in main()
91 if (BIO_do_handshake(sbio) <= 0) { in main()
99 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main()
101 len = BIO_read(sbio, tmpbuf, 1024); in main()
108 BIO_free_all(sbio); in main()

1234567891011