@@ -67498,7 +67498,7 @@ static int test_tls13_rpk_handshake(void)
6749867498 certType_s[1] = WOLFSSL_CERT_TYPE_X509;
6749967499 typeCnt_s = 2;
6750067500
67501- /* both clien and server do not call client/server_cert_type APIs,
67501+ /* both client and server do not call client/server_cert_type APIs,
6750267502 * expecting default settings works and no negotiation performed.
6750367503 */
6750467504
@@ -67520,6 +67520,9 @@ static int test_tls13_rpk_handshake(void)
6752067520 WOLFSSL_SUCCESS);
6752167521 ExpectIntEQ(tp, WOLFSSL_CERT_TYPE_UNKNOWN);
6752267522
67523+ (void)typeCnt_c;
67524+ (void)typeCnt_s;
67525+
6752367526 wolfSSL_free(ssl_c);
6752467527 wolfSSL_CTX_free(ctx_c);
6752567528 wolfSSL_free(ssl_s);
@@ -67551,7 +67554,7 @@ static int test_tls13_rpk_handshake(void)
6755167554 certType_s[1] = WOLFSSL_CERT_TYPE_X509;
6755267555 typeCnt_s = 2;
6755367556
67554- /* both clien and server do not call client/server_cert_type APIs,
67557+ /* both client and server do not call client/server_cert_type APIs,
6755567558 * expecting default settings works and no negotiation performed.
6755667559 */
6755767560
@@ -67575,6 +67578,9 @@ static int test_tls13_rpk_handshake(void)
6757567578 WOLFSSL_SUCCESS);
6757667579 ExpectIntEQ(tp, WOLFSSL_CERT_TYPE_UNKNOWN);
6757767580
67581+ (void)typeCnt_c;
67582+ (void)typeCnt_s;
67583+
6757867584 wolfSSL_free(ssl_c);
6757967585 wolfSSL_CTX_free(ctx_c);
6758067586 wolfSSL_free(ssl_s);
@@ -67733,12 +67739,9 @@ static int test_tls13_rpk_handshake(void)
6773367739 svrKeyFile, WOLFSSL_FILETYPE_PEM )
6773467740 , 0);
6773567741
67736- /* set client certificate type in client end */
67737- certType_c[0] = WOLFSSL_CERT_TYPE_RPK;
67738- certType_c[1] = WOLFSSL_CERT_TYPE_X509;
67739- typeCnt_c = 2;
67740-
67741- /* client indicates both RPK and x509 certs are available but loaded RPK
67742+ /* set client certificate type in client end
67743+ *
67744+ * client indicates both RPK and x509 certs are available but loaded RPK
6774267745 * cert only. It does not have client add client-cert-type extension in CH.
6774367746 */
6774467747 certType_c[0] = WOLFSSL_CERT_TYPE_RPK;
0 commit comments