Home
last modified time | relevance | path

Searched refs:bio (Results 1 – 7 of 7) sorted by relevance

/curl/docs/examples/
H A Dusercertinmem.c49 BIO *bio = NULL; in sslctx_function() local
122 bio = BIO_new_mem_buf((char *)mypem, -1); in sslctx_function()
124 if(!bio) { in sslctx_function()
131 cert = PEM_read_bio_X509(bio, NULL, 0, NULL); in sslctx_function()
161 if(bio) in sslctx_function()
162 BIO_free(bio); in sslctx_function()
/curl/docs/libcurl/opts/
H A DCURLOPT_SSL_CTX_DATA.md57 BIO *bio;
60 bio = BIO_new_mem_buf(mypem, -1);
64 PEM_read_bio_X509(bio, &cert, 0, NULL);
77 BIO_free(bio);
H A DCURLOPT_SSL_CTX_FUNCTION.md108 BIO *bio;
111 bio = BIO_new_mem_buf(mypem, -1);
115 PEM_read_bio_X509(bio, &cert, 0, NULL);
128 BIO_free(bio);
/curl/lib/vtls/
H A Dwolfssl.c257 wolfSSL_BIO_set_shutdown(bio, 1); in wolfssl_bio_cf_create()
259 wolfSSL_BIO_set_data(bio, NULL); in wolfssl_bio_cf_create()
265 if(!bio) in wolfssl_bio_cf_destroy()
338 wolfSSL_BIO_clear_retry_flags(bio); in wolfssl_bio_cf_out_write()
341 wolfSSL_BIO_set_retry_write(bio); in wolfssl_bio_cf_out_write()
369 wolfSSL_BIO_clear_retry_flags(bio); in wolfssl_bio_cf_in_read()
372 wolfSSL_BIO_set_retry_read(bio); in wolfssl_bio_cf_in_read()
1279 WOLFSSL_BIO *bio; in wolfssl_connect_step1() local
1282 if(!bio) in wolfssl_connect_step1()
1285 wolfSSL_BIO_set_data(bio, cf); in wolfssl_connect_step1()
[all …]
H A Dopenssl.c701 BIO_set_shutdown(bio, 1); in ossl_bio_cf_create()
702 BIO_set_init(bio, 1); in ossl_bio_cf_create()
704 bio->num = -1; in ossl_bio_cf_create()
706 BIO_set_data(bio, NULL); in ossl_bio_cf_create()
712 if(!bio) in ossl_bio_cf_destroy()
768 BIO_clear_retry_flags(bio); in ossl_bio_cf_out_write()
4013 BIO *bio; in ossl_connect_step1() local
4039 if(!bio) in ossl_connect_step1()
4042 BIO_set_data(bio, cf); in ossl_connect_step1()
4049 BIO_up_ref(bio); in ossl_connect_step1()
[all …]
H A Dmbedtls.c184 static int mbedtls_bio_cf_write(void *bio, in mbedtls_bio_cf_write() argument
187 struct Curl_cfilter *cf = bio; in mbedtls_bio_cf_write()
206 static int mbedtls_bio_cf_read(void *bio, unsigned char *buf, size_t blen) in mbedtls_bio_cf_read() argument
208 struct Curl_cfilter *cf = bio; in mbedtls_bio_cf_read()
/curl/lib/vquic/
H A Dcurl_osslq.c1161 BIO *bio = NULL; in cf_osslq_ctx_start() local
1207 bio = BIO_new_dgram((int)ctx->q.sockfd, BIO_NOCLOSE); in cf_osslq_ctx_start()
1209 bio = BIO_new_dgram(ctx->q.sockfd, BIO_NOCLOSE); in cf_osslq_ctx_start()
1211 if(!bio) { in cf_osslq_ctx_start()
1238 SSL_set_bio(ctx->tls.ossl.ssl, bio, bio); in cf_osslq_ctx_start()
1239 bio = NULL; in cf_osslq_ctx_start()
1247 if(bio) in cf_osslq_ctx_start()
1248 BIO_free(bio); in cf_osslq_ctx_start()

Completed in 38 milliseconds