openssl: patch source relative paths in SSL

This commit is contained in:
Josef Söntgen 2017-11-13 15:22:51 +01:00 committed by Christian Helmuth
parent 987ec9d371
commit f32344138f
3 changed files with 22 additions and 2 deletions

View File

@ -1 +1 @@
9e008279b054b5f05cf36027e6aa4aa32a211cc6
473ec42d97b8880c2f88ea9bb439eb114e096fd5

View File

@ -38,5 +38,5 @@ src/lib/openssl/x86_64/rc4_md5.s:
$(VERBOSE)perl src/lib/openssl/crypto/rc4/asm/rc4-md5-x86_64.pl \
src/lib/openssl/crypto/perlasm/x86as.pl > $@
PATCHES := src/lib/openssl/rand_unix_c.patch
PATCHES := $(addprefix src/lib/openssl/,rand_unix_c.patch ssl.patch)
PATCH_OPT := -p1 -d src/lib/openssl

View File

@ -0,0 +1,20 @@
+++ x/ssl/s3_lib.c
@@ -154,7 +154,7 @@
#include "kssl_lcl.h"
#ifndef OPENSSL_NO_TLSEXT
#ifndef OPENSSL_NO_EC
-#include "../crypto/ec/ec_lcl.h"
+#include <crypto/ec/ec_lcl.h>
#endif /* OPENSSL_NO_EC */
#endif /* OPENSSL_NO_TLSEXT */
#include <openssl/md5.h>
+++ a/ssl/ssl_cert.c
@@ -121,7 +121,7 @@
# include <sys/types.h>
#endif
-#include "o_dir.h"
+#include <crypto/o_dir.h>
#include <openssl/objects.h>
#include <openssl/bio.h>
#include <openssl/pem.h>