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 January 8, 2024 19:42
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>