mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-27 20:24:37 +00:00
Merge pull request #293 from dragos-oancea/sofia-tport_tls-val-never-read
[sofia-sip] scan-build: Value stored to 'options' is never read - tls_init_context()
This commit is contained in:
commit
22ad46487a
@ -394,7 +394,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti)
|
|||||||
ti->key));
|
ti->key));
|
||||||
} else {
|
} else {
|
||||||
long options = SSL_OP_CIPHER_SERVER_PREFERENCE | SSL_OP_SINGLE_DH_USE;
|
long options = SSL_OP_CIPHER_SERVER_PREFERENCE | SSL_OP_SINGLE_DH_USE;
|
||||||
options = SSL_CTX_set_options(tls->ctx, options);
|
SSL_CTX_set_options(tls->ctx, options);
|
||||||
SU_DEBUG_3(("%s\n", "tls: initialized DHE"));
|
SU_DEBUG_3(("%s\n", "tls: initialized DHE"));
|
||||||
}
|
}
|
||||||
DH_free(dh);
|
DH_free(dh);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user