Skip to content

SSLContext accepts a protocol version range no handshake can use #129

Description

@SeanTAllen

set_min_proto_version(TLS1u3Version()) followed by set_max_proto_version(TLS1u2Version()) raises from neither call. SSL_CTX_set_min_proto_version and SSL_CTX_set_max_proto_version each return 1 for an inverted pair, and the Pony setters raise only on a zero return. Every session the context then creates fails its handshake with lib=20 reason=191 no protocols available.

The failure surfaces far from the call that caused it, and both setters' docstrings say they raise only when the context has been disposed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions