in native/src/ssl.c [573:585]
static int jbs_puts(BIO *b, const char *in)
{
int ret = 0;
if (BIO_get_init(b) && in != NULL) {
BIO_JAVA *j = (BIO_JAVA *)BIO_get_data(b);
JNIEnv *e = NULL;
tcn_get_java_env(&e);
ret = (*e)->CallIntMethod(e, j->cb.obj,
j->cb.mid[2],
tcn_new_string(e, in));
}
return ret;
}