The function make-ssl-ctx
first calls ensure-ssl, and returns a foreign pointer of type ssl-ctx-pointer.
If the value of ssl-ctx is t
, :default
, :v2
, :v3
, :v23
or :tls-v1
, make-ssl-ctx
creates a SSL_CTX
object and returns a pointer to it.
The value of ssl-ctx can also be a foreign pointer of type ssl-ctx-pointer, in which case it is simply returned. If ssl-ctx is a foreign pointer of type ssl-pointer, then make-ssl-ctx
signals an error.
The meaning of the keyword arguments ssl-ctx and ssl-side is as described for socket-stream. The default value of ssl-ctx is t
and the default value of ssl-side is :server
.
LispWorks User Guide and Reference Manual - 20 Sep 2017