SSL_CTX_set_options

Set additional SSL_OP_* option bits on an SSL context (bitwise OR).

Synopsis

Declared in <openssl/ssl.h>

uint64_t
SSL_CTX_set_options(
    SSL_CTX* ctx,
    uint64_t op);

Return Value

Resulting option bitmask after setting.

Parameters

NameDescription
ctxSSL context to update.
opBitmask of options to enable; existing options are retained.