mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 06:50:40 -04:00
get rid of cipher_version variable. use plain output from openssl
This commit is contained in:
parent
7ce2bef37b
commit
1e85b05f09
5 changed files with 3 additions and 29 deletions
|
@ -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")) ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue