[tests][auth] Fix unreported issue with auth tests skipped, fix storage of ssl protocol #57981
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supersedes #57890, adding the required changes to fix the tests on Qt 6 builds.
The old approach (casting Qt enums to int and storing) is not stable, and breaks with the Qt 6 builds were the raw SSL protocol
enums have changed values (due to removed deprecated protocols).
Replace this with a stable string encoding/decoding approach, with compatibility for upgrading older configus, and add additional tests.
(Note that auth configuration created in Qt 5 builds which use the deprecated protocols cannot be loaded in Qt 6 builds, since
those protocols are no longer supported.)