mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
improved display of ciphers giving TLS version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8104 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
73a6ca8af6
commit
69c44ef9ef
2 changed files with 9 additions and 4 deletions
|
@ -204,9 +204,12 @@ void ConfCertDialog::load()
|
|||
if(RsControl::instance()->getPeerCryptoDetails(detail.id,cdet) && cdet.connexion_state!=0)
|
||||
{
|
||||
QString ct ;
|
||||
ct += QString::fromStdString(cdet.cipher_name) ;
|
||||
ct += QString::number(cdet.cipher_bits_1) ;
|
||||
ct += "-"+QString::fromStdString(cdet.cipher_version) ;
|
||||
ct += QString::fromStdString(cdet.cipher_version) + ": ";
|
||||
ct += QString::fromStdString(cdet.cipher_name);
|
||||
|
||||
if(cdet.cipher_version != "TLSv1.2")
|
||||
ct += QString::number(cdet.cipher_bits_1);
|
||||
|
||||
ui.crypto_info->setText(ct) ;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue