Commit d9dfb64c authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Emmanuel Lepage Vallée

sipaccount: fix segfault in getSupportedCiphers()

was broken since commit ac3bf29a

Refs #66135

Change-Id: Ic18fefb97c43f26f71b8c59a5d60cda8f3f967a3
parent 6932060a
......@@ -1541,6 +1541,7 @@ SIPAccount::getSupportedCiphers() const
RING_ERR("Could not determine cipher list on this system");
// filter-out 0 ciphers
availCiphers.reserve(cipherNum);
std::copy_if(avail_ciphers.begin(), avail_ciphers.end(),
availCiphers.begin(),
[](pj_ssl_cipher& item){ return item > 0; });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment