HomeSort by: relevance | last modified time | path
    Searched refs:wbio (Results 1 - 25 of 64) sorted by relevancy

1 2 3

  /src/crypto/external/bsd/openssl.old/dist/test/
fatalerrtest.c 24 BIO *wbio = NULL; local
50 wbio = SSL_get_wbio(cssl);
51 if (!TEST_ptr(wbio)) {
63 if (!TEST_int_gt(BIO_write(wbio, dummyrec, sizeof(dummyrec)), 0))
servername_test.c 89 BIO *wbio; local
106 wbio = BIO_new(BIO_s_mem());
107 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
109 BIO_free(wbio);
113 SSL_set_bio(con, rbio, wbio);
118 if (!TEST_true(get_sni_from_client_hello(wbio, &hostname)))
137 BIO *wbio; local
151 wbio = BIO_new(BIO_s_mem());
152 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
154 BIO_free(wbio);
    [all...]
clienthellotest.c 64 BIO *wbio; local
168 wbio = BIO_new(BIO_s_mem());
169 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
171 BIO_free(wbio);
175 SSL_set_bio(con, rbio, wbio);
189 len = BIO_get_mem_data(wbio, (char **)&data);
bad_dtls_test.c 115 static int validate_client_hello(BIO *wbio)
123 len = BIO_get_mem_data(wbio, (char **)&data);
187 (void)BIO_reset(wbio);
377 static int validate_ccs(BIO *wbio)
384 len = BIO_get_mem_data(wbio, (char **)&data);
450 BIO *wbio = NULL; local
488 wbio = BIO_new(BIO_s_mem());
491 || !TEST_ptr(wbio))
494 SSL_set_bio(con, rbio, wbio);
501 rbio = wbio = NULL
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/
fatalerrtest.c 24 BIO *wbio = NULL; local
50 wbio = SSL_get_wbio(cssl);
51 if (!TEST_ptr(wbio)) {
63 if (!TEST_int_gt(BIO_write(wbio, dummyrec, sizeof(dummyrec)), 0))
servername_test.c 100 BIO *wbio; local
121 wbio = BIO_new(BIO_s_mem());
122 if (!TEST_ptr(rbio) || !TEST_ptr(wbio)) {
124 BIO_free(wbio);
128 SSL_set_bio(con, rbio, wbio);
133 if (!TEST_true(get_sni_from_client_hello(wbio, &hostname)))
152 BIO *wbio; local
170 wbio = BIO_new(BIO_s_mem());
171 if (!TEST_ptr(rbio) || !TEST_ptr(wbio)) {
173 BIO_free(wbio);
    [all...]
http_test.c 157 BIO *wbio = BIO_new(BIO_s_mem()); local
184 if (wbio == NULL || rbio == NULL || req == NULL)
189 BIO_set_callback_ex(wbio, http_bio_cb_ex);
190 BIO_set_callback_arg(wbio, (char *)&mock_args);
194 real_server ? NULL : wbio,
203 wbio, rbio, NULL /* bio_fn */, NULL /* arg */,
236 BIO_free(wbio);
244 BIO *wbio = BIO_new(BIO_s_mem()); local
252 if (wbio == NULL || rbio == NULL)
258 BIO_set_callback_ex(wbio, http_bio_cb_ex)
498 BIO *wbio = BIO_new(BIO_s_mem()); local
    [all...]
clienthellotest.c 56 BIO *wbio; local
134 wbio = BIO_new(BIO_s_mem());
135 if (!TEST_ptr(rbio) || !TEST_ptr(wbio)) {
137 BIO_free(wbio);
141 SSL_set_bio(con, rbio, wbio);
155 if (!TEST_long_ge(len = BIO_get_mem_data(wbio, (char **)&data), 0)
bad_dtls_test.c 198 static int validate_client_hello(BIO *wbio)
206 if ((len = BIO_get_mem_data(wbio, (char **)&data)) < 0)
269 (void)BIO_reset(wbio);
598 static int validate_ccs(BIO *wbio)
605 len = BIO_get_mem_data(wbio, (char **)&data);
674 BIO *wbio = NULL; local
714 wbio = BIO_new(BIO_s_mem());
717 || !TEST_ptr(wbio))
720 SSL_set_bio(con, rbio, wbio);
727 rbio = wbio = NULL
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
fatalerrtest.c 24 BIO *wbio = NULL; local
50 wbio = SSL_get_wbio(cssl);
51 if (!TEST_ptr(wbio)) {
63 if (!TEST_int_gt(BIO_write(wbio, dummyrec, sizeof(dummyrec)), 0))
servername_test.c 102 BIO *wbio; local
123 wbio = BIO_new(BIO_s_mem());
124 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
126 BIO_free(wbio);
130 SSL_set_bio(con, rbio, wbio);
135 if (!TEST_true(get_sni_from_client_hello(wbio, &hostname)))
154 BIO *wbio; local
172 wbio = BIO_new(BIO_s_mem());
173 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
175 BIO_free(wbio);
    [all...]
http_test.c 116 BIO *wbio = BIO_new(BIO_s_mem()); local
124 if (wbio == NULL || rbio == NULL || req == NULL)
127 BIO_set_callback_ex(wbio, http_bio_cb_ex);
128 BIO_set_callback_arg(wbio, (char *)&mock_args);
133 wbio, rbio, NULL /* bio_update_fn */, NULL /* arg */,
139 wbio, rbio, NULL /* bio_fn */, NULL /* arg */,
151 BIO_free(wbio);
159 BIO *wbio = BIO_new(BIO_s_mem()); local
167 if (wbio == NULL || rbio == NULL)
172 BIO_set_callback_ex(wbio, http_bio_cb_ex)
    [all...]
clienthellotest.c 64 BIO *wbio; local
173 wbio = BIO_new(BIO_s_mem());
174 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
176 BIO_free(wbio);
180 SSL_set_bio(con, rbio, wbio);
194 if (!TEST_long_ge(len = BIO_get_mem_data(wbio, (char **)&data), 0)
bad_dtls_test.c 117 static int validate_client_hello(BIO *wbio)
125 if ((len = BIO_get_mem_data(wbio, (char **)&data)) < 0)
190 (void)BIO_reset(wbio);
393 static int validate_ccs(BIO *wbio)
400 len = BIO_get_mem_data(wbio, (char **)&data);
469 BIO *wbio = NULL; local
508 wbio = BIO_new(BIO_s_mem());
511 || !TEST_ptr(wbio))
514 SSL_set_bio(con, rbio, wbio);
521 rbio = wbio = NULL
    [all...]
dtlstest.c 401 BIO *rbio = NULL, *wbio = NULL, *sbio = NULL; local
430 wbio = BIO_new(BIO_s_mem());
432 if (!TEST_ptr(serverssl) || !TEST_ptr(rbio) || !TEST_ptr(wbio))
437 SSL_set0_wbio(serverssl, wbio);
438 rbio = wbio = NULL;
458 BIO_free(wbio);
  /src/crypto/external/apache2/openssl/dist/apps/
enc.c 149 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = NULL, *wbio = NULL; local
481 wbio = out;
493 wbio = BIO_push(bzl, wbio);
507 wbio = BIO_push(bbrot, wbio);
520 wbio = BIO_push(bzstd, wbio);
536 wbio = BIO_push(b64, wbio);
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/
d1_lib.c 426 BIO *rbio, *wbio; local
446 wbio = SSL_get_wbio(ssl);
448 if (!rbio || !wbio) {
756 * This is unnecessary if rbio and wbio are one and the same - but
761 (void)BIO_dgram_set_peer(wbio, tmpclient);
766 if (BIO_write(wbio, wbuf, wreclen) < (int)wreclen) {
767 if (BIO_should_retry(wbio)) {
778 if (BIO_flush(wbio) <= 0) {
779 if (BIO_should_retry(wbio)) {
858 BIO *wbio; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/ssl/
d1_lib.c 466 BIO *rbio, *wbio; local
482 wbio = SSL_get_wbio(s);
484 if (!rbio || !wbio) {
801 * This is unnecessary if rbio and wbio are one and the same - but
806 (void)BIO_dgram_set_peer(wbio, tmpclient);
811 if (BIO_write(wbio, wbuf, wreclen) < (int)wreclen) {
812 if (BIO_should_retry(wbio)) {
822 if (BIO_flush(wbio) <= 0) {
823 if (BIO_should_retry(wbio)) {
881 BIO *wbio; local
    [all...]
d1_msg.c 54 (void)BIO_flush(s->wbio);
  /src/crypto/external/bsd/openssl.old/dist/ssl/
d1_lib.c 455 BIO *rbio, *wbio; local
471 wbio = SSL_get_wbio(s);
473 if (!rbio || !wbio) {
790 * This is unnecessary if rbio and wbio are one and the same - but
795 (void)BIO_dgram_set_peer(wbio, tmpclient);
801 if (BIO_write(wbio, wbuf, wreclen) < (int)wreclen) {
802 if (BIO_should_retry(wbio)) {
812 if (BIO_flush(wbio) <= 0) {
813 if (BIO_should_retry(wbio)) {
871 BIO *wbio; local
    [all...]
d1_msg.c 55 (void)BIO_flush(s->wbio);
  /src/crypto/external/bsd/openssl/dist/apps/
enc.c 119 NULL, *wbio = NULL; local
400 wbio = out;
411 wbio = BIO_push(bzl, wbio);
427 wbio = BIO_push(b64, wbio);
460 && (BIO_write(wbio, magic,
462 || BIO_write(wbio,
615 wbio = BIO_push(benc, wbio);
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/apps/
enc.c 98 NULL, *wbio = NULL; local
381 wbio = out;
392 wbio = BIO_push(bzl, wbio);
408 wbio = BIO_push(b64, wbio);
442 && (BIO_write(wbio, magic,
444 || BIO_write(wbio,
588 wbio = BIO_push(benc, wbio);
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/http/
http_client.c 49 int free_wbio; /* wbio allocated internally, free with ctx */
50 BIO *wbio; /* BIO to write/send request to */ member in struct:ossl_http_req_ctx_st
98 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size)
102 if (wbio == NULL || rbio == NULL) {
112 rctx->wbio = wbio;
134 BIO_free_all(rctx->wbio);
395 static OSSL_HTTP_REQ_CTX *http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio,
402 OSSL_HTTP_REQ_CTX *rctx = OSSL_HTTP_REQ_CTX_new(wbio, rbio, buf_size);
565 if (rctx->mem == NULL || rctx->wbio == NULL || rctx->rbio == NULL)
1383 BIO *wbio; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/http/
http_client.c 47 int free_wbio; /* wbio allocated internally, free with ctx */
48 BIO *wbio; /* BIO to write/send request to */ member in struct:ossl_http_req_ctx_st
90 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size)
94 if (wbio == NULL || rbio == NULL) {
104 rctx->wbio = wbio;
125 BIO_free_all(rctx->wbio);
371 static OSSL_HTTP_REQ_CTX *http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio,
378 OSSL_HTTP_REQ_CTX *rctx = OSSL_HTTP_REQ_CTX_new(wbio, rbio, buf_size);
536 if (rctx->mem == NULL || rctx->wbio == NULL || rctx->rbio == NULL)
1263 BIO *wbio; local
    [all...]

Completed in 35 milliseconds

1 2 3