The function set-ssl-ctx-password-callback
sets the password for a SSL_CTX
, either to a callback or a password.
ssl-ctx should be a foreign pointer of type ssl-ctx-pointer.
If callback is non-nil, it must be a function with signature:
callback maximum-length rwflag => result
where maximum-length is an integer, rwflag is a boolean and result is a string. The default value of callback is nil
.
If password is non-nil and callback is nil
, a callback is installed that simply returns password. The default value of password is nil
.
If both callback and password are nil
, set-ssl-ctx-password-callback
signals an error.
LispWorks User Guide and Reference Manual - 20 Sep 2017