summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-09-28 18:23:23 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2020-09-29 10:27:10 +0200
commit19a95c5e212c3f83e1338daf2df0fd23f9582c84 (patch)
tree0bc265961a035673e1f16ba565cd46e5795add0b
parent8c60af6d22ef8a5eddfa9cd58da103f01b97240b (diff)
QSsl: Remove enum value gaps
These value gaps were there for binary compatibility, but we don't need those in Qt 6. Change-Id: I72a40d601b61f90e14562578e88493b0d54ff398 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
-rw-r--r--src/network/ssl/qssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/ssl/qssl.h b/src/network/ssl/qssl.h
index cb0871fff6..3c0415a2e4 100644
--- a/src/network/ssl/qssl.h
+++ b/src/network/ssl/qssl.h
@@ -73,11 +73,11 @@ namespace QSsl {
};
enum SslProtocol {
- TlsV1_0 = 2,
+ TlsV1_0,
TlsV1_1,
TlsV1_2,
AnyProtocol,
- SecureProtocols = AnyProtocol + 2,
+ SecureProtocols,
TlsV1_0OrLater,
TlsV1_1OrLater,