Consistency
[openssl.git] / crypto / bio / bf_buff.c
index c65dc142a5c3af239d4c8dbe145c95212679f1a3..f50e8f98a3dababc89e12c63de8ddb8a4b83f770 100644 (file)
@@ -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)));
        }