Skip to content

Instantly share code, notes, and snippets.

View IvanGazul's full-sized avatar
Учусь

Ivan IvanGazul

Учусь
View GitHub Profile
@mmozeiko
mmozeiko / tls_client.c
Last active September 27, 2024 19:55
simple example of TLS socket client using win32 schannel api
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#include <windows.h>
#define SECURITY_WIN32
#include <security.h>
#include <schannel.h>
#include <shlwapi.h>
#include <assert.h>
#include <stdio.h>