BIO_printf() can fail to print the last character