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

12 lines
380 B
Diff

diff -u -r ../openssl-1.1.1g/apps/ocsp.c ./apps/ocsp.c
--- ../openssl-1.1.1g/apps/ocsp.c 2020-04-21 12:22:39.000000000 +0000
+++ ./apps/ocsp.c 2020-04-28 22:42:57.312189000 +0000
@@ -48,6 +48,7 @@
#endif
#if !defined(NO_FORK) && !defined(OPENSSL_NO_SOCK) \
+ && !defined(__ANDROID__) \
&& !defined(OPENSSL_NO_POSIX_IO)
# define OCSP_DAEMON
# include <sys/types.h>