diff --git a/plugins/obs-outputs/librtmp/rtmp.c b/plugins/obs-outputs/librtmp/rtmp.c index 580a668f2a9107ce16d5d0a66303c1d9f42e8e97..1194731bf89c80df15fd5a84462a1ad5fe29b608 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