diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-07-15 11:01:09 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2021-07-16 15:01:25 +0000 |
commit | e4670df1182b1ec096ede3aad27828cfd85ecf1f (patch) | |
tree | 3368a327610c70314a4efdb82c31b6b2cf2fe296 /tests/auto | |
parent | aff8d83512e719b7599c0e759b81fb9b63eadb04 (diff) |
Tidy up systemCaCertificates() function in OpenSSL backend
As pointed out by Marc Mutz in another review, the Android branches of
its #if-ery amounted to a complicated no-op, so simplify the #if-ery,
add a TODO and then simplify the code thereby freed of the need to
accommodate the #if-ery.
In the process, initialize a set of filenames with the two filenames
that we read certificates from after looping over the set, which might
have left those files being read twice.
Change-Id: I2ee4ee3c3cf40226ee6a50afd6127fa4a71d2834
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions