summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2020-07-03 04:13:41 +0000
committertb <>2020-07-03 04:13:41 +0000
commitff53bda3a806f25f83afd5342a70095c4be03007 (patch)
tree7e691b37af4821aedaa27adf2d1557cff9bb2c59 /src
parent19ec1b6acc3e3c1c1156d9578424119a3a98dd63 (diff)
downloadopenbsd-ff53bda3a806f25f83afd5342a70095c4be03007.tar.gz
openbsd-ff53bda3a806f25f83afd5342a70095c4be03007.tar.bz2
openbsd-ff53bda3a806f25f83afd5342a70095c4be03007.zip
adjust tlsexttest to new argument order
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c
index fe500a9d6f..46c16a85c4 100644
--- a/src/regress/lib/libssl/tlsext/tlsexttest.c
+++ b/src/regress/lib/libssl/tlsext/tlsexttest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tlsexttest.c,v 1.40 2020/05/24 20:01:58 tb Exp $ */ 1/* $OpenBSD: tlsexttest.c,v 1.41 2020/07/03 04:13:41 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -2744,7 +2744,7 @@ test_tlsext_clienthello_build(void)
2744 if ((ssl = SSL_new(ssl_ctx)) == NULL) 2744 if ((ssl = SSL_new(ssl_ctx)) == NULL)
2745 errx(1, "failed to create SSL"); 2745 errx(1, "failed to create SSL");
2746 2746
2747 if (!tlsext_client_build(ssl, &cbb, SSL_TLSEXT_MSG_CH)) { 2747 if (!tlsext_client_build(ssl, SSL_TLSEXT_MSG_CH, &cbb)) {
2748 FAIL("failed to build clienthello extensions\n"); 2748 FAIL("failed to build clienthello extensions\n");
2749 goto err; 2749 goto err;
2750 } 2750 }
@@ -2780,7 +2780,7 @@ test_tlsext_clienthello_build(void)
2780 return 0; 2780 return 0;
2781 } 2781 }
2782 2782
2783 if (!tlsext_client_build(ssl, &cbb, SSL_TLSEXT_MSG_CH)) { 2783 if (!tlsext_client_build(ssl, SSL_TLSEXT_MSG_CH, &cbb)) {
2784 FAIL("failed to build clienthello extensions\n"); 2784 FAIL("failed to build clienthello extensions\n");
2785 goto err; 2785 goto err;
2786 } 2786 }
@@ -2848,7 +2848,7 @@ test_tlsext_serverhello_build(void)
2848 S3I(ssl)->hs.new_cipher = 2848 S3I(ssl)->hs.new_cipher =
2849 ssl3_get_cipher_by_id(TLS1_CK_RSA_WITH_AES_128_SHA256); 2849 ssl3_get_cipher_by_id(TLS1_CK_RSA_WITH_AES_128_SHA256);
2850 2850
2851 if (!tlsext_server_build(ssl, &cbb, SSL_TLSEXT_MSG_SH)) { 2851 if (!tlsext_server_build(ssl, SSL_TLSEXT_MSG_SH, &cbb)) {
2852 FAIL("failed to build serverhello extensions\n"); 2852 FAIL("failed to build serverhello extensions\n");
2853 goto err; 2853 goto err;
2854 } 2854 }
@@ -2885,7 +2885,7 @@ test_tlsext_serverhello_build(void)
2885 SSI(ssl)->tlsext_ecpointformatlist[0] = 2885 SSI(ssl)->tlsext_ecpointformatlist[0] =
2886 TLSEXT_ECPOINTFORMAT_uncompressed; 2886 TLSEXT_ECPOINTFORMAT_uncompressed;
2887 2887
2888 if (!tlsext_server_build(ssl, &cbb, SSL_TLSEXT_MSG_SH)) { 2888 if (!tlsext_server_build(ssl, SSL_TLSEXT_MSG_SH, &cbb)) {
2889 FAIL("failed to build serverhello extensions\n"); 2889 FAIL("failed to build serverhello extensions\n");
2890 goto err; 2890 goto err;
2891 } 2891 }