/* * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ // Tests for X509 time functions. #include <openssl/x509.h> #include <string.h> #include <time.h> #include <gtest/gtest.h> #include <openssl/asn1.h> struct TestData { … }; static TestData kX509CmpTests[] = …; TEST(X509TimeTest, TestCmpTime) { … } TEST(X509TimeTest, TestCmpTimeCurrent) { … }