Blame SOURCES/openssl-1.0.1e-cve-2016-2180.patch

653b37
diff -up openssl-1.0.1e/crypto/ts/ts_lib.c.ts-oob-read openssl-1.0.1e/crypto/ts/ts_lib.c
653b37
--- openssl-1.0.1e/crypto/ts/ts_lib.c.ts-oob-read	2013-02-11 16:26:04.000000000 +0100
653b37
+++ openssl-1.0.1e/crypto/ts/ts_lib.c	2016-09-20 16:23:02.074244000 +0200
653b37
@@ -90,9 +90,8 @@ int TS_OBJ_print_bio(BIO *bio, const ASN
653b37
 	{
653b37
 	char obj_txt[128];
653b37
 
653b37
-	int len = OBJ_obj2txt(obj_txt, sizeof(obj_txt), obj, 0);
653b37
-	BIO_write(bio, obj_txt, len);
653b37
-	BIO_write(bio, "\n", 1);
653b37
+	OBJ_obj2txt(obj_txt, sizeof(obj_txt), obj, 0);
653b37
+	BIO_printf(bio, "%s\n", obj_txt);
653b37
 
653b37
 	return 1;
653b37
 	}