Skip to content

Commit 775bbac

Browse files
authored
Merge pull request #8688 from miyazakh/client_pqc_option
Make client pqc option consistency with server
2 parents b533d08 + da2c48f commit 775bbac

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

examples/client/client.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2960,13 +2960,16 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
29602960
break;
29612961
#endif
29622962

2963-
#if defined(WOLFSSL_TLS13) && defined(HAVE_SUPPORTED_CURVES) && \
2964-
defined(HAVE_PQC)
2963+
#if defined(HAVE_PQC)
29652964
case 259:
2965+
{
29662966
usePqc = 1;
2967+
#if defined(WOLFSSL_TLS13) && defined(HAVE_SUPPORTED_CURVES)
29672968
onlyKeyShare = 3;
2969+
#endif
29682970
pqcAlg = myoptarg;
2969-
break;
2971+
}
2972+
break;
29702973
#endif
29712974
#ifdef WOLFSSL_SYS_CA_CERTS
29722975
case 263:

0 commit comments

Comments
 (0)