136 |
136 |
137 proto = cipher.protocol() |
137 proto = cipher.protocol() |
138 if proto == QSsl.SslV3: |
138 if proto == QSsl.SslV3: |
139 sslVersion = "SSL 3.0" |
139 sslVersion = "SSL 3.0" |
140 imageLabel.setPixmap( |
140 imageLabel.setPixmap( |
141 UI.PixmapCache.getPixmap("securityHigh32.png")) |
141 UI.PixmapCache.getPixmap("securityLow32.png")) |
142 elif proto == QSsl.TlsV1SslV3: |
142 elif proto == QSsl.TlsV1SslV3: |
143 sslVersion = "TLS 1.0/SSL 3.0" |
143 sslVersion = "TLS 1.0/SSL 3.0" |
144 imageLabel.setPixmap( |
144 imageLabel.setPixmap( |
145 UI.PixmapCache.getPixmap("securityHigh32.png")) |
145 UI.PixmapCache.getPixmap("securityLow32.png")) |
146 elif proto == QSsl.SslV2: |
146 elif proto == QSsl.SslV2: |
147 sslVersion = "SSL 2.0" |
147 sslVersion = "SSL 2.0" |
148 imageLabel.setPixmap( |
148 imageLabel.setPixmap( |
149 UI.PixmapCache.getPixmap("securityLow32.png")) |
149 UI.PixmapCache.getPixmap("securityLow32.png")) |
150 else: |
150 else: |