BIO_C_SET_BUF_MEM
case BIO_C_SET_BUF_MEM:
#define BIO_set_mem_buf(b, bm, c) BIO_ctrl(b, BIO_C_SET_BUF_MEM, c, (char *)(bm))