Leonid Plyushch
7 years ago
committed by
Fredrik Fornwall
3 changed files with 24 additions and 15 deletions
@ -0,0 +1,23 @@ |
|||||
|
diff -uNr openssl-1.0.2o/e_os.h openssl-1.0.2o.mod/e_os.h
|
||||
|
--- openssl-1.0.2o/e_os.h 2018-03-27 16:54:46.000000000 +0300
|
||||
|
+++ openssl-1.0.2o.mod/e_os.h 2018-06-19 15:24:21.644044663 +0300
|
||||
|
@@ -90,7 +90,7 @@
|
||||
|
* sockets will be tried in the order listed in case accessing the device |
||||
|
* files listed in DEVRANDOM did not return enough entropy. |
||||
|
*/ |
||||
|
-# define DEVRANDOM_EGD "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy"
|
||||
|
+# define DEVRANDOM_EGD "@TERMUX_PREFIX@/var/run/egd-pool","/dev/egd-pool","@TERMUX_PREFIX@/etc/egd-pool","@TERMUX_PREFIX@/etc/entropy"
|
||||
|
# endif |
||||
|
|
||||
|
# if defined(OPENSSL_SYS_VXWORKS) |
||||
|
@@ -723,6 +723,10 @@
|
||||
|
# define NO_SYSLOG |
||||
|
# endif |
||||
|
|
||||
|
+#ifdef __ANDROID__
|
||||
|
+# define NO_SYSLOG
|
||||
|
+#endif
|
||||
|
+
|
||||
|
/* vxworks */ |
||||
|
# if defined(OPENSSL_SYS_VXWORKS) |
||||
|
# include <ioLib.h> |
@ -1,14 +0,0 @@ |
|||||
diff -u -r ../openssl-1.0.1f/e_os.h ./e_os.h
|
|
||||
--- ../openssl-1.0.1f/e_os.h 2014-01-06 14:47:42.000000000 +0100
|
|
||||
+++ ./e_os.h 2014-02-19 01:38:25.000000000 +0100
|
|
||||
@@ -691,6 +691,10 @@
|
|
||||
# define NO_SYSLOG |
|
||||
#endif |
|
||||
|
|
||||
+#ifdef __ANDROID__
|
|
||||
+# define NO_SYSLOG
|
|
||||
+#endif
|
|
||||
+
|
|
||||
/* vxworks */ |
|
||||
#if defined(OPENSSL_SYS_VXWORKS) |
|
||||
#include <ioLib.h> |
|
Loading…
Reference in new issue