diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-22 11:08:54 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-22 12:22:44 +0200 |
| commit | ed1f39dc5664d642f0f5af1a606e2e7aebd5e5f4 (patch) | |
| tree | 6d77fdb25e8f80f7dd61c343997028727ec67f65 /test/certificates_test.cc | |
| parent | 6ffa60433c4d6ce4ccee31e1f2459b0dd0758c00 (diff) | |
Fix some macOS signed/unsigned warnings.
Diffstat (limited to 'test/certificates_test.cc')
| -rw-r--r-- | test/certificates_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/certificates_test.cc b/test/certificates_test.cc index 0c671fc3..4795e45e 100644 --- a/test/certificates_test.cc +++ b/test/certificates_test.cc @@ -254,10 +254,10 @@ BOOST_AUTO_TEST_CASE (signer_validation) BOOST_AUTO_TEST_CASE (certificate_chain_from_string) { dcp::CertificateChain a (dcp::file_to_string (private_test / "chain.pem")); - BOOST_CHECK_EQUAL (a.root_to_leaf().size(), 3); + BOOST_CHECK_EQUAL (a.root_to_leaf().size(), 3U); dcp::CertificateChain b (dcp::file_to_string ("test/ref/crypt/leaf.signed.pem")); - BOOST_CHECK_EQUAL (b.root_to_leaf().size(), 1); + BOOST_CHECK_EQUAL (b.root_to_leaf().size(), 1U); } /** Check not_before and not_after */ |
