155 sslVersion = "TLS 1.2" |
155 sslVersion = "TLS 1.2" |
156 imageLabel.setPixmap( |
156 imageLabel.setPixmap( |
157 UI.PixmapCache.getPixmap("securityHigh32")) |
157 UI.PixmapCache.getPixmap("securityHigh32")) |
158 try: |
158 try: |
159 # Qt 5.12 and newer |
159 # Qt 5.12 and newer |
160 if proto == QSsl.TlsV1_2: |
160 if proto == QSsl.TlsV1_3: |
161 sslVersion = "TLS 1.2" |
161 sslVersion = "TLS 1.3" |
162 imageLabel.setPixmap( |
162 imageLabel.setPixmap( |
163 UI.PixmapCache.getPixmap("securityHigh32")) |
163 UI.PixmapCache.getPixmap("securityHigh32")) |
164 except AttributeError: |
164 except AttributeError: |
165 pass |
165 pass |
166 rows += 1 |
166 rows += 1 |