SSL_CTX_set1_param

Copy verification parameters into an SSL context.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_set1_param(
    SSL_CTX* ctx,
    X509_VERIFY_PARAM* vpm);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxSSL context whose X509_VERIFY_PARAM is updated.
vpmSource parameters that are duplicated into ctx.