1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +00:00

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.
This commit is contained in:
Xiao NuoFu 2020-04-05 18:08:11 +02:00 committed by Andreas Kling
parent 7fd77e9ffe
commit bb1ad4b649
3 changed files with 32 additions and 5 deletions

View file

@ -0,0 +1,13 @@
--- 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)