1
0
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 ()

This commit is contained in:
Alex Kiraly 2024-09-29 07:52:54 +03:00 committed by GitHub
parent ea9a086f82
commit d779654068
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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, "://"))