Lines Matching refs:NULL

44     NULL,                       /* ssl_write_old, */
46 NULL, /* ssl_read_old, */
48 NULL, /* ssl_gets, */
64 if (bs == NULL) in ssl_new()
78 if (a == NULL) in ssl_free()
82 if (bs->ssl != NULL && !SSL_in_init(bs->ssl)) in ssl_free()
101 if (buf == NULL) in ssl_read()
124 tm = (unsigned long)time(NULL); in ssl_read()
170 if (buf == NULL) in ssl_write()
193 tm = (unsigned long)time(NULL); in ssl_write()
232 SSL_CONNECTION *sc = NULL; in ssl_ctrl()
237 if (ssl == NULL && cmd != BIO_C_SET_SSL) in ssl_ctrl()
242 if ((sc = SSL_CONNECTION_FROM_SSL_ONLY(ssl)) == NULL) in ssl_ctrl()
257 if (next != NULL) in ssl_ctrl()
259 else if (sc->rbio != NULL) in ssl_ctrl()
278 bs->last_time = (unsigned long)time(NULL); in ssl_ctrl()
289 if (ssl != NULL) { in ssl_ctrl()
299 if (bio != NULL) { in ssl_ctrl()
300 if (next != NULL) in ssl_ctrl()
308 if (ptr != NULL) { in ssl_ctrl()
334 if ((next != NULL) && (next != SSL_get_rbio(ssl))) { in ssl_ctrl()
347 SSL_set_bio(ssl, NULL, NULL); in ssl_ctrl()
385 ret = (dbs->ssl != NULL); in ssl_ctrl()
439 BIO *ret = NULL, *buf = NULL, *ssl = NULL; in BIO_new_buffer_ssl_connect()
442 if (ctx != NULL && IS_QUIC_CTX(ctx)) in BIO_new_buffer_ssl_connect()
447 if ((buf = BIO_new(BIO_f_buffer())) == NULL) in BIO_new_buffer_ssl_connect()
448 return NULL; in BIO_new_buffer_ssl_connect()
449 if ((ssl = BIO_new_ssl_connect(ctx)) == NULL) in BIO_new_buffer_ssl_connect()
451 if ((ret = BIO_push(buf, ssl)) == NULL) in BIO_new_buffer_ssl_connect()
458 return NULL; in BIO_new_buffer_ssl_connect()
464 BIO *ret = NULL, *con = NULL, *ssl = NULL; in BIO_new_ssl_connect()
466 if ((con = BIO_new(BIO_s_connect())) == NULL) in BIO_new_ssl_connect()
467 return NULL; in BIO_new_ssl_connect()
470 if (ctx != NULL && IS_QUIC_CTX(ctx)) in BIO_new_ssl_connect()
475 if ((ssl = BIO_new_ssl(ctx, 1)) == NULL) in BIO_new_ssl_connect()
477 if ((ret = BIO_push(ssl, con)) == NULL) in BIO_new_ssl_connect()
484 return NULL; in BIO_new_ssl_connect()
492 if ((ret = BIO_new(BIO_f_ssl())) == NULL) in BIO_new_ssl()
493 return NULL; in BIO_new_ssl()
494 if ((ssl = SSL_new(ctx)) == NULL) { in BIO_new_ssl()
496 return NULL; in BIO_new_ssl()
512 if ((t == NULL) || (f == NULL)) in BIO_ssl_copy_session_id()
516 if ((tdata->ssl == NULL) || (fdata->ssl == NULL)) in BIO_ssl_copy_session_id()
527 for (; b != NULL; b = BIO_next(b)) { in BIO_ssl_shutdown()
531 if (bdata != NULL && bdata->ssl != NULL) in BIO_ssl_shutdown()