Skip to content

Instantly share code, notes, and snippets.

@pehrlich
pehrlich / CertificateNSS.cpp
Created July 17, 2015 20:20
Cross Platform Mozilla NSS Root Certificate Installation
#include "stdafx.h"
#include "CertificateNSS.h"
#include "Certificate.h"
#include <boost/filesystem/operations.hpp>
#include <nss.h>
#include <cert.h>
#include <certdb.h>
ProfileLocker::ProfileLocker(const boost::filesystem::path& profilePath) : m_isValid(false)