qssl.h - address comments from API review

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

Pick-to: dev
Change-Id: I72b24f979e207e21d6f42a11cf0ae8887df473d3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Timur Pocheptsov 2021-02-18 12:00:25 +01:00
parent 0352cf8e1b
commit b677883263

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
};
}