Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/openssl.test
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ do_wolfssl_client() {

if [ "$client_result" != 0 ]
then
echo -e "client failed! Suite = $wolfSuite version = $version"
echo -e "wolfSSL client failed! Suite = $wolfSuite version = $version"
do_cleanup
exit 1
fi
Expand Down Expand Up @@ -429,7 +429,7 @@ do_openssl_client() {

if [ "$client_result" != 0 ]
then
echo -e "client failed! Suite = $wolfSuite version = $version"
echo -e "OpenSSL client failed! Suite = $wolfSuite version = $version"
do_cleanup
exit 1
fi
Expand Down
20 changes: 19 additions & 1 deletion src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -28734,7 +28734,6 @@ static int ParseCipherList(Suites* suites,
}

if (next[0] == '\0' ||
XSTRCMP(next, "ALL") == 0 ||
XSTRCMP(next, "DEFAULT") == 0 ||
XSTRCMP(next, "HIGH") == 0)
{
Expand All @@ -28755,6 +28754,25 @@ static int ParseCipherList(Suites* suites,
return 1; /* wolfSSL default */
}

if (XSTRCMP(next, "ALL") == 0)
{
/* Add all ciphersuites. Prefer RSA */
#ifndef NO_RSA
haveRSA = 1;
#endif
InitSuites(suites, version,
#ifndef NO_CERTS
privateKeySz,
#else
0,
#endif
haveRSA, 1, 1, !haveRSA, 1, haveRSA, !haveRSA, 1, 1, 1,
1, 1, side
);
suites->setSuites = 1;
return 1; /* wolfSSL default */
}

do {
const char* current = next;
char name[MAX_SUITE_NAME + 1];
Expand Down
Loading