Return the peer certificate verification mode currently set on an SSL context.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_get_verify_mode(SSL_CTX const* ctx);

Return Value

Bitmask of SSL_VERIFY_* flags previously set with SSL_CTX_set_verify().

Parameters

Name

Description

ctx

SSL context to query.

Created with MrDocs