Skip to content

Instantly share code, notes, and snippets.

View knightstreet's full-sized avatar

Chris Brown knightstreet

  • Avondale Embedded Ltd
  • Stockport
View GitHub Profile
@cseelye
cseelye / ssl.cpp
Last active July 18, 2024 10:13
Get SSL certificate info using openssl from C++
#include <cstring>
#include <ctime>
#include <iostream>
#include <memory>
#include <string>
#include <openssl/asn1.h>
#include <openssl/bio.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/pem.h>