Mac OS Native SSL: Secure Communication (original) (raw)

8.15

The net/osx-ssl module offers a fraction of the functionality of openssl and works only on Mac OS, but it has the advantage that it works before OpenSSL libraries are installed.

Added in version 6.3.0.12 of package base.

(osx-ssl-connect hostname port-no [client-protocol])
hostname : string?
port-no : (integer-in 1 65535)
client-protocol : (or/c 'secure 'auto 'sslv2-or-v3 'sslv2 'sslv3 'tls 'tls11 'tls12) = 'auto

Like ssl-connect, but without support for client contexts.

Returns #t of v is an SSL output port produced byosx-ssl-connect.

Returns #t if the OpenSSL library currently accessed byopenssl is too old, in which caseosx-ssl-connect should be preferred.