mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
sip_to_pjsip: Set correct tls transport method
A recent update had a copy/paste error where the unused variable 'val' was being passed to the set_value function instead of the 'method' value itself. This patch passes in the right variable. ASTERISK-22374 Change-Id: I895b7b3779ce4442bc58b8ec40d59dd29bb43f06
This commit is contained in:
@@ -797,7 +797,7 @@ def create_tls(sip, pjsip, nmapped):
|
||||
'sslv23' as default when unspecified, which gives TLSv1.0 and v1.2.
|
||||
"""
|
||||
method = 'sslv23'
|
||||
set_value('method', val, 'transport-tls', pjsip, nmapped, 'transport')
|
||||
set_value('method', method, 'transport-tls', pjsip, nmapped, 'transport')
|
||||
|
||||
set_transport_common('transport-tls', pjsip, nmapped)
|
||||
try:
|
||||
|
Reference in New Issue
Block a user