--- h:\prj\1original\openssl\openssl\crypto\err\err_prn.c	2010-04-29 17:59:34.000000000 +-0200
+++ h:\prj\3actual\openssl\crypto\err\err_prn.c	2009-08-24 18:25:55.000000000 +-0200
@@ -90,8 +90,12 @@
 	{
 	BIO bio;
+	int ret;
 
 	BIO_set(&bio,BIO_s_file());
 	BIO_set_fp(&bio,fp,BIO_NOCLOSE);
 
-	return BIO_printf(&bio, "%s", str);
+	ret = BIO_printf(&bio, "%s", str);
+	BIO_flush(&bio);
+	return ret;
 	}
 
