mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
Revert to the old TLS API, but keep certs as mg_str for DER
This commit is contained in:
1 parent
7ecbbc517d
commit
3f0366a514
31 files changed
+532
-782
No files matched your search
@@ -7,7 +7,7 @@ struct url {
|
||||
int mg_url_is_ssl(const char *url) {
|
||||
return strncmp(url, "wss:", 4) == 0 || strncmp(url, "https:", 6) == 0 ||
|
||||
strncmp(url, "mqtts:", 6) == 0 || strncmp(url, "ssl:", 4) == 0 ||
|
||||
strncmp(url, "tls:", 4) == 0;
|
||||
strncmp(url, "tls:", 4) == 0 || strncmp(url, "tcps:", 5) == 0;
|
||||
}
|
||||
|
||||
static struct url urlparse(const char *url) {
|
||||
|
||||
Reference in new issue
Block a user