mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
curltlssink: swap check
Lets check for NULL first, as that is the default anyway.
This commit is contained in:
parent
4c63326a7a
commit
2e51ba1219
1 changed files with 2 additions and 2 deletions
|
@ -247,8 +247,8 @@ gst_curl_tls_sink_set_options_unlocked (GstCurlBaseSink * bcsink)
|
|||
}
|
||||
|
||||
/* crypto engine */
|
||||
if ((g_strcmp0 (sink->crypto_engine, "auto") == 0) ||
|
||||
(sink->crypto_engine == NULL)) {
|
||||
if ((sink->crypto_engine == NULL) ||
|
||||
(strcmp (sink->crypto_engine, "auto") == 0)) {
|
||||
res = curl_easy_setopt (bcsink->curl, CURLOPT_SSLENGINE_DEFAULT, 1L);
|
||||
if (res != CURLE_OK) {
|
||||
bcsink->error =
|
||||
|
|
Loading…
Reference in a new issue