Add option for HTTPS clients to not verify the peer's certificate

This commit is contained in:
2025-11-29 19:56:09 +01:00
parent 008772aef1
commit 954bcb7e3e
8 changed files with 70 additions and 10 deletions
+3
View File
@@ -53,6 +53,8 @@ license = """
"""
header = Amalgamator()
header.append_text("#ifndef HTTP_INCLUDED\n")
header.append_text("#define HTTP_INCLUDED\n")
header.append_text(desc)
header.append_file("src/includes.h")
header.append_file("src/basic.h")
@@ -64,6 +66,7 @@ header.append_file("src/cert.h")
header.append_file("src/client.h")
header.append_file("src/server.h")
header.append_text(license)
header.append_text("#endif // HTTP_INCLUDED\n")
header.save("chttp.h")
source = Amalgamator()