mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -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
|
@ -1195,14 +1195,7 @@ void PeersHandler::handleGetNodeOptions(Request& req, Response& resp)
|
|||
std::string encryption;
|
||||
RsPeerCryptoParams cdet;
|
||||
if(RsControl::instance()->getPeerCryptoDetails(detail.id, cdet) && cdet.connexion_state != 0)
|
||||
{
|
||||
encryption = cdet.cipher_version;
|
||||
encryption += ": ";
|
||||
encryption += cdet.cipher_name;
|
||||
|
||||
if(cdet.cipher_version != "TLSv1.2")
|
||||
encryption += cdet.cipher_bits_1;
|
||||
}
|
||||
encryption = cdet.cipher_name;
|
||||
else
|
||||
encryption = "Not connected";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue