From 19a95c5e212c3f83e1338daf2df0fd23f9582c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Mon, 28 Sep 2020 18:23:23 +0200 Subject: 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 --- src/network/ssl/qssl.h | 4 ++-- 1 file 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, -- cgit v1.2.3