Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allowing disable of TLSv1.3 #654

Merged
merged 12 commits into from
Oct 16, 2023
Merged
2 changes: 2 additions & 0 deletions c/zss.c
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,8 @@ static bool readAgentHttpsSettingsV2(ShortLivedHeap *slh,
*/
char *keyshares = jsonObjectGetString(httpsConfigObject, "keyshares");
settings->keyshares = keyshares ? keyshares : DEFAULT_TLS_KEY_SHARES;
char *maxTls = jsonObjectGetString(httpsConfigObject, "maxTls");
settings->maxTls = maxTls;
settings->keyring = jsonObjectGetString(httpsConfigObject, "keyring");
settings->label = jsonObjectGetString(httpsConfigObject, "label");
/* settings->stash = jsonObjectGetString(httpsConfigObject, "stash"); - this is obsolete */
Expand Down
2 changes: 1 addition & 1 deletion deps/zowe-common-c
Submodule zowe-common-c updated 2 files
+30 −8 c/tls.c
+7 −1 h/tls.h
4 changes: 4 additions & 0 deletions schemas/zss-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@
"keyshares": {
"type": [ "string", "null" ],
"description": "The list of key shares in order of priority"
},
"maxTls": {
"type": [ "string", "null" ],
"description": "Maximum tls version allowed."
jordanfilteau1995 marked this conversation as resolved.
Show resolved Hide resolved
}
}
},
Expand Down