qssl.h - address comments from API review

Enumerators initially were to be flags, but this changed later, no
initialisers needed now.

Change-Id: I72b24f979e207e21d6f42a11cf0ae8887df473d3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit b6778832636fc8f6911eb30bc9767ea6caaf6642)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
bb10
Timur Pocheptsov 2021-02-18 12:00:25 +01:00 committed by Qt Cherry-pick Bot
parent 8f1c4019e5
commit 9385e54071
1 changed files with 13 additions and 13 deletions

View File

@ -151,23 +151,23 @@ namespace QSsl {
enum class ImplementedClass
{
Key = 0x1,
Certificate = 0x2,
Socket = 0x4,
DiffieHellman = 0x8,
EllipticCurve = 0x10,
Dtls = 0x20
Key,
Certificate,
Socket,
DiffieHellman,
EllipticCurve,
Dtls
};
enum class SupportedFeature
{
CertificateVerification = 0x1,
ClientSideAlpn = 0x2,
ServerSideAlpn = 0x4,
Ocsp = 0x8,
Psk = 0x10,
SessionTicket = 0x20,
Alerts = 040
CertificateVerification,
ClientSideAlpn,
ServerSideAlpn,
Ocsp,
Psk,
SessionTicket,
Alerts
};
}