Home | History | Annotate | Download | only in ocsp

Lines Matching defs:mem

81 	BIO *mem;		/* Memory BIO response is built into */
114 if (rctx->mem)
115 BIO_free(rctx->mem);
126 if (BIO_printf(rctx->mem, req_hdr, i2d_OCSP_REQUEST(req, NULL)) <= 0)
128 if (i2d_OCSP_REQUEST_bio(rctx->mem, req) <= 0)
131 rctx->asn1_len = BIO_get_mem_data(rctx->mem, NULL);
140 if (BIO_puts(rctx->mem, name) <= 0)
144 if (BIO_write(rctx->mem, ": ", 2) != 2)
146 if (BIO_puts(rctx->mem, value) <= 0)
149 if (BIO_write(rctx->mem, "\r\n", 2) != 2)
162 rctx->mem = BIO_new(BIO_s_mem());
175 if (BIO_printf(rctx->mem, post_hdr, path) <= 0)
281 if (BIO_write(rctx->mem, rctx->iobuf, n) != n)
289 n = BIO_get_mem_data(rctx->mem, &p);
309 (void)BIO_reset(rctx->mem);
340 n = BIO_get_mem_data(rctx->mem, &p);
350 n = BIO_gets(rctx->mem, (char *)rctx->iobuf, rctx->iobuflen);
354 if (BIO_should_retry(rctx->mem))
403 n = BIO_get_mem_data(rctx->mem, &p);
448 n = BIO_get_mem_data(rctx->mem, &p);