@@ -94090,11 +94090,23 @@ static int test_dtls13_basic_connection_id(void)
9409094090 unsigned char server_cid[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
9409194091 unsigned char readBuf[30];
9409294092 const char* params[] = {
94093+ #ifndef NO_SHA256
94094+ #ifdef WOLFSSL_AES_128
94095+ #ifdef HAVE_AESGCM
9409394096 "TLS13-AES128-GCM-SHA256",
94097+ #endif
94098+ #if defined(HAVE_CHACHA) && defined(HAVE_POLY1305)
9409494099 "TLS13-CHACHA20-POLY1305-SHA256",
94100+ #endif
94101+ #ifdef HAVE_AESCCM
9409594102 "TLS13-AES128-CCM-8-SHA256",
9409694103 "TLS13-AES128-CCM-SHA256",
94104+ #endif
94105+ #endif
94106+ #ifdef HAVE_NULL_CIPHER
9409794107 "TLS13-SHA256-SHA256",
94108+ #endif
94109+ #endif
9409894110 };
9409994111 size_t i;
9410094112
@@ -94117,8 +94129,8 @@ static int test_dtls13_basic_connection_id(void)
9411794129 ExpectIntEQ(test_memio_setup(&test_ctx, &ctx_c, &ctx_s, &ssl_c, &ssl_s,
9411894130 wolfDTLSv1_3_client_method, wolfDTLSv1_3_server_method), 0);
9411994131
94120- ExpectIntEQ(wolfSSL_set_cipher_list(ssl_c, params[i]), 1 );
94121- ExpectIntEQ(wolfSSL_set_cipher_list(ssl_s, params[i]), 1 );
94132+ ExpectIntEQ(wolfSSL_set_cipher_list(ssl_c, params[i]), WOLFSSL_SUCCESS );
94133+ ExpectIntEQ(wolfSSL_set_cipher_list(ssl_s, params[i]), WOLFSSL_SUCCESS );
9412294134
9412394135 ExpectIntEQ(wolfSSL_dtls_cid_use(ssl_c), 1);
9412494136 ExpectIntEQ(wolfSSL_dtls_cid_set(ssl_c, server_cid, sizeof(server_cid)),
@@ -94147,15 +94159,10 @@ static int test_dtls13_basic_connection_id(void)
9414794159 ExpectIntEQ(wolfSSL_negotiate(ssl_c), -1);
9414894160 ExpectIntEQ(wolfSSL_get_error(ssl_c, -1), WOLFSSL_ERROR_WANT_READ);
9414994161 ExpectNotNull(CLIENT_CID());
94150- /* Server second flight */
94151- ExpectIntEQ(wolfSSL_negotiate(ssl_s), 1);
94152- ExpectNotNull(SERVER_CID());
94153- /* Client third flight */
94154- ExpectIntEQ(wolfSSL_negotiate(ssl_c), 1);
94155- ExpectNotNull(CLIENT_CID());
9415694162 /* Server process flight */
9415794163 ExpectIntEQ(wolfSSL_negotiate(ssl_s), 1);
94158- ExpectNull(SERVER_CID()); /* No data should be sent */
94164+ /* Client process flight */
94165+ ExpectIntEQ(wolfSSL_negotiate(ssl_c), 1);
9415994166
9416094167 /* Write some data */
9416194168 ExpectIntEQ(wolfSSL_write(ssl_c, params[i], XSTRLEN(params[i])),
0 commit comments