external_tests/der_gtest/der_gtest.cc
author Elio Maldonado <emaldona@redhat.com>
Wed, 03 Feb 2016 14:17:33 +0100
changeset 11836 bf8a54155531b6a8d9d888ed52ee4485cb37ab3f
parent 11827 99beadb152436d9243c57e87cf9931a99fe1c0b5
permissions -rw-r--r--
Bug 1202264, wrong re-use of a session cache entry, r=rrelyea

#include "nspr.h"
#include "nss.h"
#include "ssl.h"

#include <cstdlib>

#define GTEST_HAS_RTTI 0
#include "gtest/gtest.h"

int main(int argc, char **argv) {
  // Start the tests
  ::testing::InitGoogleTest(&argc, argv);

  NSS_NoDB_Init(nullptr);
  NSS_SetDomesticPolicy();
  int rv = RUN_ALL_TESTS();

  NSS_Shutdown();

  return rv;
}