termux-packages/packages/openssl/e_os.h.patch

13 lines
631 B
Diff
Raw Normal View History

2019-05-29 23:05:06 +02:00
diff -u -r ../openssl-1.1.1c/e_os.h ./e_os.h
--- ../openssl-1.1.1c/e_os.h 2019-05-28 13:12:21.000000000 +0000
+++ ./e_os.h 2019-05-29 20:59:46.153243395 +0000
@@ -38,7 +38,7 @@
* sockets will be tried in the order listed in case accessing the device
2019-05-29 23:05:06 +02:00
* files listed in DEVRANDOM did not return enough randomness.
*/
2019-05-29 23:05:06 +02:00
-# 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
2019-05-29 23:05:06 +02:00
# if defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI)