buildrootschalter/package/openssl/openssl-002-dont-force-large-file.patch
Gustavo Zacarias 27a7ab51e3 openssl: add fix for CVE-2013-6449
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-01-03 20:45:29 +01:00

20 lines
530 B
Diff

[patch]: bss_file.c: don't force largefile mode
---
crypto/bio/bss_file.c | 3 ---
1 file changed, 3 deletions(-)
Index: openssl-0.9.8g/crypto/bio/bss_file.c
===================================================================
--- openssl-0.9.8g.orig/crypto/bio/bss_file.c
+++ openssl-0.9.8g/crypto/bio/bss_file.c
@@ -78,9 +78,6 @@
* sequential access of large files without extra "magic" comprise *BSD,
* Darwin, IRIX...
*/
-#ifndef _FILE_OFFSET_BITS
-#define _FILE_OFFSET_BITS 64
-#endif
#endif
#include <stdio.h>