ladybird/Ports/openssl/patches/s_apps.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

14 lines
369 B
Diff

--- a/apps/s_apps.h 2020-04-05 13:52:44.967691150 +0100
+++ b/apps/s_apps.h 2020-04-05 13:52:50.147690999 +0100
@@ -122,6 +122,10 @@
# define _kbhit kbhit
#endif
+#if defined(OPENSSL_SYS_SERENITY)
+# include <sys/select.h>
+#endif
+
#if defined(OPENSSL_SYS_VMS) && !defined(FD_SET)
/*
* VAX C does not defined fd_set and friends, but it's actually quite simple