diff --git a/plugins/obs-outputs/librtmp/rtmp.c b/plugins/obs-outputs/librtmp/rtmp.c index 580a668f2..1194731bf 100644 --- a/plugins/obs-outputs/librtmp/rtmp.c +++ b/plugins/obs-outputs/librtmp/rtmp.c @@ -344,7 +344,7 @@ RTMP_TLS_LoadCerts() { CFRelease(keychain_ref); #elif defined(__linux__) - if (mbedtls_x509_crt_parse_path(chain, "/etc/ssl/certs/") != 0) { + if (mbedtls_x509_crt_parse_path(chain, "/etc/ssl/certs/") < 0) { goto error; } #endif