diff options
author | jsing <> | 2022-10-02 16:38:23 +0000 |
---|---|---|
committer | jsing <> | 2022-10-02 16:38:23 +0000 |
commit | a73d040fe367d3cf7a19fc4c9a9293676e1e4f06 (patch) | |
tree | 71ad3fcbc5cab5d7be0868ff915931274c680328 /src/regress/lib/libssl/unit/tls_ext_alpn.c | |
parent | 7a087580717329de5ef02600e4e1489d86249a88 (diff) | |
download | openbsd-a73d040fe367d3cf7a19fc4c9a9293676e1e4f06.tar.gz openbsd-a73d040fe367d3cf7a19fc4c9a9293676e1e4f06.tar.bz2 openbsd-a73d040fe367d3cf7a19fc4c9a9293676e1e4f06.zip |
Revise for SSL_CTX_INTERNAL and SSL_INTERNAL removal.
Diffstat (limited to 'src/regress/lib/libssl/unit/tls_ext_alpn.c')
-rw-r--r-- | src/regress/lib/libssl/unit/tls_ext_alpn.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regress/lib/libssl/unit/tls_ext_alpn.c b/src/regress/lib/libssl/unit/tls_ext_alpn.c index 378929aa5b..f0e4894557 100644 --- a/src/regress/lib/libssl/unit/tls_ext_alpn.c +++ b/src/regress/lib/libssl/unit/tls_ext_alpn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_ext_alpn.c,v 1.7 2020/07/03 04:14:10 tb Exp $ */ | 1 | /* $OpenBSD: tls_ext_alpn.c,v 1.8 2022/10/02 16:38:23 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> | 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> |
4 | * | 4 | * |
@@ -344,8 +344,8 @@ check_valid_alpn(SSL *s) | |||
344 | SSL_CTX_set_alpn_select_cb(s->ctx, dummy_alpn_cb, NULL); | 344 | SSL_CTX_set_alpn_select_cb(s->ctx, dummy_alpn_cb, NULL); |
345 | 345 | ||
346 | /* Prerequisites to test these. */ | 346 | /* Prerequisites to test these. */ |
347 | CHECK(s->internal->alpn_client_proto_list != NULL); | 347 | CHECK(s->alpn_client_proto_list != NULL); |
348 | CHECK(s->ctx->internal->alpn_select_cb != NULL); | 348 | CHECK(s->ctx->alpn_select_cb != NULL); |
349 | //CHECK(s->s3->tmp.finish_md_len == 0); | 349 | //CHECK(s->s3->tmp.finish_md_len == 0); |
350 | 350 | ||
351 | CHECK_BOTH(1, 1, proto_single); | 351 | CHECK_BOTH(1, 1, proto_single); |
@@ -376,8 +376,8 @@ check_invalid_alpn(SSL *s) | |||
376 | SSL_CTX_set_alpn_select_cb(s->ctx, dummy_alpn_cb, NULL); | 376 | SSL_CTX_set_alpn_select_cb(s->ctx, dummy_alpn_cb, NULL); |
377 | 377 | ||
378 | /* Prerequisites to test these. */ | 378 | /* Prerequisites to test these. */ |
379 | CHECK(s->internal->alpn_client_proto_list != NULL); | 379 | CHECK(s->alpn_client_proto_list != NULL); |
380 | CHECK(s->ctx->internal->alpn_select_cb != NULL); | 380 | CHECK(s->ctx->alpn_select_cb != NULL); |
381 | //CHECK(s->s3->tmp.finish_md_len == 0); | 381 | //CHECK(s->s3->tmp.finish_md_len == 0); |
382 | 382 | ||
383 | /* None of these are valid for client or server */ | 383 | /* None of these are valid for client or server */ |