Searched refs:bio (Results 1 – 7 of 7) sorted by relevance
/curl/docs/examples/ |
H A D | usercertinmem.c | 49 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 D | CURLOPT_SSL_CTX_DATA.md | 57 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 D | CURLOPT_SSL_CTX_FUNCTION.md | 108 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 D | wolfssl.c | 257 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 D | openssl.c | 701 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 D | mbedtls.c | 184 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 D | curl_osslq.c | 1161 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