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:
Andrey Volk 2020-02-12 00:32:34 +04:00 committed by GitHub
commit 22ad46487a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,7 +394,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti)
ti->key));
} else {
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"));
}
DH_free(dh);