Beacon supports Win Schannel + minor adjustments

This commit is contained in:
Pavlo Khazov
2025-05-03 13:25:41 +02:00
parent d0652b9aa5
commit 4df020a226
11 changed files with 371 additions and 37 deletions

View File

@@ -1,5 +1,3 @@
#include <stdio.h>
#include "config.h"
#include "transport.h"
@@ -8,7 +6,6 @@
#endif
Transport* InitTransport(const char* domain, unsigned short port) {
printf("Next host: %s on port %d\n", domain, port);
#if USE_SCHANNEL
return InitSchannelTransport(domain, port, SNI_HOSTNAME);
#elif USE_WOLFSSL