Skip to content

Is ALPN support in OpenSSL a required feature? #59431

Closed
@omajid

Description

@omajid

This code doesn't make it clear:

REQUIRED_FUNCTION(SSL_set_alpn_protos) \
REQUIRED_FUNCTION(SSL_set_quiet_shutdown) \
REQUIRED_FUNCTION(SSL_CTX_check_private_key) \
FALLBACK_FUNCTION(SSL_CTX_config) \
REQUIRED_FUNCTION(SSL_CTX_ctrl) \
REQUIRED_FUNCTION(SSL_CTX_free) \
FALLBACK_FUNCTION(SSL_is_init_finished) \
REQUIRED_FUNCTION(SSL_CTX_new) \
LIGHTUP_FUNCTION(SSL_CTX_set_alpn_protos) \
LIGHTUP_FUNCTION(SSL_CTX_set_alpn_select_cb) \

SSL_set_alpn_protos is required, but SSL_CTX_set_alpn_protos is a lightup? Is that right/intentional? Seems to me like both should be lightup (or both required).

Older versions of OpenSSL 1.0 don't have either of these symbols, and now the runtime fails when running against those.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions