termux-packages/packages/openssl/apps-ocsp.c.patch

12 lines
383 B
Diff

diff -u -r ../openssl-1.1.1b/apps/ocsp.c ./apps/ocsp.c
--- ../openssl-1.1.1b/apps/ocsp.c 2019-02-26 14:15:30.000000000 +0000
+++ ./apps/ocsp.c 2019-03-01 20:32:41.429610048 +0000
@@ -51,6 +51,7 @@
#endif
# if !defined(NO_FORK) && !defined(OPENSSL_NO_SOCK) \
+ && !defined(__ANDROID__) \
&& !defined(OPENSSL_NO_POSIX_IO)
# define OCSP_DAEMON
# include <sys/types.h>