SSL_CTX_set_verify

Sets the verification parameters for an SSL context

extern (C)
void
SSL_CTX_set_verify
(,
int mode
,
int function callback
)

Parameters

ctx SSL_CTX*

the SSL context to be set

mode int

the verification flags to use. For a client, this must be SSL_VERIFY_NONE or SSL_VERIFY_PEER.

callback int function

the verification callback to use when mode is set to SSL_VERIFY_PEER, or null to use the default callback

Meta