Skip to content

Commit

Permalink
Update crypto/x509/x509_test.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Hopkins <andhop@amazon.com>
  • Loading branch information
WillChilds-Klein and andrewhop committed Feb 28, 2024
1 parent 7c1adf8 commit 17c572e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/x509/x509_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1955,8 +1955,8 @@ TEST(X509Test, TestX509GettersSetters) {
ASSERT_TRUE(x509);
ASSERT_TRUE(crl);

EXPECT_EQ(0, X509_OBJECT_get0_X509(obj.get()));
EXPECT_EQ(0, X509_OBJECT_get0_X509_CRL(obj.get()));
EXPECT_EQ(nullptr, X509_OBJECT_get0_X509(obj.get()));
EXPECT_EQ(nullptr, X509_OBJECT_get0_X509_CRL(obj.get()));
EXPECT_EQ(0, X509_OBJECT_set1_X509(nullptr, x509.get()));
EXPECT_EQ(0, X509_OBJECT_set1_X509_CRL(nullptr, crl.get()));

Expand Down

0 comments on commit 17c572e

Please sign in to comment.