]> gitweb.factorcode.org Git - factor.git/commitdiff
io.sockets.secure.openssl: don't ignore-unexpected-eof on macos
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 14 Aug 2023 17:19:43 +0000 (10:19 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 14 Aug 2023 17:19:43 +0000 (10:19 -0700)
basis/io/sockets/secure/openssl/openssl.factor

index 8af3ce1d67ffca9d58149a32e5dff81fcb6b8ada..85adc5dde0f2375c6f5999e5a68c6e543b4bd1b1 100644 (file)
@@ -8,7 +8,7 @@ io.encodings.string io.encodings.utf8 io.files io.pathnames
 io.ports io.sockets io.sockets.secure io.timeouts kernel libc
 math math.functions math.order math.parser namespaces openssl
 openssl.libcrypto openssl.libssl random sequences sets splitting
-unicode ;
+system unicode ;
 IN: io.sockets.secure.openssl
 
 GENERIC: ssl-method ( symbol -- method )
@@ -206,7 +206,7 @@ M: openssl <secure-context>
             [ set-verify-depth ]
             [ load-dh-params ]
             [ set-ecdh-params ]
-            [ ignore-unexpected-eof ]
+            [ os macosx? [ drop ] [ ignore-unexpected-eof ] if ]
             [ ]
         } cleave
     ] with-destructors ;