Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
ssl_stream::set_verify_depth (1 of 2 overloads)

Set the peer verification depth.

Synopsis
void
set_verify_depth(
    int depth);
Description

This function may be used to configure the maximum verification depth allowed by the stream.

Parameters

Name

Description

depth

Maximum depth for the certificate chain verification that shall be allowed.

Exceptions

Type

Thrown On

boost::system::system_error

Thrown on failure.

Remarks

Calls SSL_set_verify_depth.


PrevUpHomeNext