SSL_CTX_set_alpn_protos
if (SSL_CTX_set_alpn_protos(ctx, alpn, alpn_len) != 0) {
__owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos,
if (!TEST_false(SSL_CTX_set_alpn_protos(ctx,
|| !TEST_int_eq(SSL_CTX_set_alpn_protos(client_ctx, alpn_protos,
if (SSL_CTX_set_alpn_protos(c_ctx, alpn, alpn_len)) {
if (!TEST_false(SSL_CTX_set_alpn_protos(ctx, NULL, 2)))
if (!TEST_false(SSL_CTX_set_alpn_protos(ctx, good, 0)))
if (!TEST_false(SSL_CTX_set_alpn_protos(ctx, good, sizeof(good))))
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, good, 1)))
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad0, sizeof(bad0))))
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad1, sizeof(bad1))))
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad2, sizeof(bad2))))
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad3, sizeof(bad3))))
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad4, sizeof(bad4))))