diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2021-02-18 12:00:25 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2021-02-18 12:34:11 +0100 |
commit | b6778832636fc8f6911eb30bc9767ea6caaf6642 (patch) | |
tree | cc457ff363a1e01ff21076488e18da14542b741b | |
parent | 0352cf8e1bf57615b9faf3f6f383896444e762ac (diff) |
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>
-rw-r--r-- | src/network/ssl/qssl.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/network/ssl/qssl.h b/src/network/ssl/qssl.h index 56727564b2..f6b43021b3 100644 --- a/src/network/ssl/qssl.h +++ b/src/network/ssl/qssl.h @@ -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 }; } |