ladybird/Ports/openssl/patches/ocsp_fd_set.patch
Xiao NuoFu bb1ad4b649 Ports: refresh OpenSSL, make it build its command line utils.
This patch refreshes the openssl port and makes it build the utilities
in apps/, e.g. the openssl utility.

Now you can do this from Serenity:

    $ openssl s_client -connect example.org:443
    ...
    GET / HTTP/1.1
    Host: example.org

    <HTTP response here>

The download URL was bit-rotten and needed a fix.
2020-04-06 11:44:13 +02:00

13 lines
327 B
Diff

--- a/apps/ocsp.c 2020-04-05 16:49:54.499380971 +0100
+++ b/apps/ocsp.c 2020-04-05 16:50:13.175380426 +0100
@@ -94,6 +94,10 @@
# endif
# endif
+# if defined(OPENSSL_SYS_SERENITY)
+# include <sys/select.h>
+# endif
+
/* Maximum leeway in validity period: default 5 minutes */
# define MAX_VALIDITY_PERIOD (5 * 60)