get rid of cipher_version variable. use plain output from openssl

This commit is contained in:
sehraf 2018-09-15 14:30:23 +02:00
parent 7ce2bef37b
commit 1e85b05f09
No known key found for this signature in database
GPG key ID: DF09F6EAE356B2C6
5 changed files with 3 additions and 29 deletions

View file

@ -165,16 +165,7 @@ void ConfCertDialog::load()
RsPeerCryptoParams cdet ;
if(RsControl::instance()->getPeerCryptoDetails(detail.id,cdet) && cdet.connexion_state!=0)
{
QString ct ;
ct += QString::fromStdString(cdet.cipher_version) + ": ";
ct += QString::fromStdString(cdet.cipher_name);
if(cdet.cipher_version != "TLSv1.2" && cdet.cipher_version != "TLSv1.3")
ct += QString::number(cdet.cipher_bits_1);
ui.crypto_info->setText(ct) ;
}
ui.crypto_info->setText(QString::fromStdString(cdet.cipher_name));
else
ui.crypto_info->setText(tr("Not connected")) ;