aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-09-04 15:47:17 +0000
committerBodo Möller <bodo@openssl.org>2000-09-04 15:47:17 +0000
commitaffadbef0b88dac4c33d5ecdc0f431f2a3ffbec5 (patch)
treee89e03f7687607ba46ba9763a2430797f1a879a6
parent397bd0938aa724cccf4f97eb73f8d8f403670329 (diff)
downloadopenssl-affadbef0b88dac4c33d5ecdc0f431f2a3ffbec5.tar.gz
Consistency
-rw-r--r--CHANGES5
-rw-r--r--crypto/bio/b_print.c2
-rw-r--r--crypto/bio/bf_buff.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 201400c0b7..c7014e9241 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,11 @@
Changes between 0.9.5a and 0.9.6 [xx XXX 2000]
+ *) For consistency with other BIO_puts implementations, call
+ buffer_write(b, ...) directly in buffer_puts instead of calling
+ BIO_write(b, ...).
+ [Peter.Sylvester@EdelWeb.fr]
+
*) Fix BN_mul_word for the case where the word is 0. (We have to use
BN_zero, we may not return a BIGNUM with an array consisting of
words set to zero.)
diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c
index 349109b213..c421934def 100644
--- a/crypto/bio/b_print.c
+++ b/crypto/bio/b_print.c
@@ -827,7 +827,7 @@ int BIO_vprintf (BIO *bio, const char *format, va_list args)
#ifdef USE_ALLOCATING_PRINT
char *hugebuf;
#else
- MS_STATIC char hugebuf[1024*2]; /* 10k in one chunk is the limit */
+ MS_STATIC char hugebuf[1024*2];
#endif
#ifndef USE_ALLOCATING_PRINT
diff --git a/crypto/bio/bf_buff.c b/crypto/bio/bf_buff.c
index c65dc142a5..f50e8f98a3 100644
--- a/crypto/bio/bf_buff.c
+++ b/crypto/bio/bf_buff.c
@@ -506,6 +506,6 @@ static int buffer_gets(BIO *b, char *buf, int size)
static int buffer_puts(BIO *b, const char *str)
{
- return(BIO_write(b,str,strlen(str)));
+ return(buffer_write(b,str,strlen(str)));
}