In crypto/bio/b_print.c
there is
MS_STATIC char hugebuf[1024*2]; /* 10k in one chunk is the limit */
2024*2 is not exactly close to 10k.
Some months ago I reported some bug in the BIO_write vs BIO_puts
processing.
Most implementions of BIO_puts just call the internal _write routines
with a strlen as additional parameter. Exceptions are
bf_buff.c and b_dump.c where instead the BIO_write routines are
called. This creates an inconsistent behaviour concerning the
number of octets written, since the BIO_puts doesn't update the
data in the same way as BIO_write.
PS
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]