On this page:
Mac OS Native SSL:   Secure Communication
osx-ssl-connect
osx-ssl-abandon-port
osx-ssl-output-port?
osx-old-openssl?
6.11

Mac OS Native SSL: Secure Communication

 (require net/osx-ssl) package: base
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.

procedure

(osx-ssl-connect hostname 
  port-no 
  [client-protocol]) 
  
input-port?
(and/c output-port? osx-ssl-output-port?)
  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.

procedure

(osx-ssl-abandon-port in)  void?

  in : osx-ssl-output-port?
Analogous to ssl-abandon-port.

procedure

(osx-ssl-output-port? v)  boolean?

  v : any/c
Returns #t of v is an SSL output port produced by osx-ssl-connect.

procedure

(osx-old-openssl?)  boolean?

Returns #t if the OpenSSL library currently accessed by openssl is too old, in which case osx-ssl-connect should be preferred.