obs-outputs: Remove hard-coded certificate paths on Linux
The report in https://github.com/obsproject/obs-studio/issues/2350 identified the issue as being caused by mbedtls not following symbolic links, but it turns out the issue was the mbedtls_x509_crt_parse_path return value which was already fixed in 4d89123c. So these changes are no longer necessary.
This commit is contained in:
parent
2f4447a7a1
commit
c465212414
@ -348,12 +348,6 @@ RTMP_TLS_LoadCerts(RTMP *r) {
|
||||
"/etc/ssl/certs");
|
||||
goto error;
|
||||
}
|
||||
|
||||
// mbedtls_x509_crt_parse_path ignores symlinks which causes an issue on
|
||||
// some distributions. try parsing the most common CA bundles directly
|
||||
// to work around this (we don't care if it fails)
|
||||
mbedtls_x509_crt_parse_file(chain, "/etc/ssl/certs/ca-bundle.crt");
|
||||
mbedtls_x509_crt_parse_file(chain, "/etc/ssl/certs/ca-certificates.crt");
|
||||
#endif
|
||||
|
||||
mbedtls_ssl_conf_ca_chain(&r->RTMP_TLS_ctx->conf, chain, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user