mirror of
https://github.com/libretro/RetroArch
synced 2025-03-13 07:14:43 +00:00
Disallow Cloud Sync with HTTPs when HAVE_SSL is disabled (#17059)
This commit is contained in:
parent
ea9a086f82
commit
d779654068
@ -506,6 +506,10 @@ static bool webdav_sync_begin(cloud_sync_complete_handler_t cb, void *user_data)
|
|||||||
if (string_is_empty(url))
|
if (string_is_empty(url))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
#ifndef HAVE_SSL
|
||||||
|
if (strncmp(url, "https", 5) == 0)
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
/* TODO: LOCK? */
|
/* TODO: LOCK? */
|
||||||
|
|
||||||
if (!strstr(url, "://"))
|
if (!strstr(url, "://"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user