-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
Milestone
Description
This code doesn't make it clear:
runtime/src/libraries/Native/Unix/System.Security.Cryptography.Native/opensslshim.h
Lines 462 to 471 in 0ea3b7d
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.