Fix a stack smash
[openssl.git] / test / testutil / basic_output.c
index 9080aaec3706c20313d7dacde0dc339553c52379..6e1f99a5adbdac167a42c7193513e2fcd6df90d3 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include "../testutil.h"
  */
 
 #include "../testutil.h"
+#include "output.h"
 
 #include <openssl/crypto.h>
 #include <openssl/bio.h>
 
 #include <openssl/crypto.h>
 #include <openssl/bio.h>
@@ -30,16 +31,6 @@ void test_close_streams(void)
     BIO_free(bio_err);
 }
 
     BIO_free(bio_err);
 }
 
-int test_puts_stdout(const char *str)
-{
-    return BIO_puts(bio_out, str);
-}
-
-int test_puts_stderr(const char *str)
-{
-    return BIO_puts(bio_err, str);
-}
-
 int test_vprintf_stdout(const char *fmt, va_list ap)
 {
     return BIO_vprintf(bio_out, fmt, ap);
 int test_vprintf_stdout(const char *fmt, va_list ap)
 {
     return BIO_vprintf(bio_out, fmt, ap);