Skip to content

Add SSL_CTX_is_server function #1620

@daurnimator

Description

@daurnimator

I found this function was missing when porting code from openssl 1.0 to 1.1

It would be similar in use as SSL_is_server, but works on an SSL_CTX.
The body should be similar to how SSL_new initialises its server member:

    s->server = (ctx->method->ssl_accept == ssl_undefined_function) ? 0 : 1;

Metadata

Metadata

Assignees

Labels

backlog fixThe issue was closed as part of the backlog reduction initiative.triaged: featureThe issue/pr requests/adds a feature

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions