commit | 8a8c01bb0c8dca86ca5c55068b5519f5fd9d3e40 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Sun Mar 11 00:07:52 2018 -0500 |
committer | Davide Pesavento <davide.pesavento@lip6.fr> | Sun Mar 11 00:07:52 2018 -0500 |
tree | 1c9581389ca5b5ecd7b8dd5e99f879c8ad6d433b | |
parent | 5df42a893d13d604b2a49bdaa1efe627564e1835 [diff] |
tests: fix several instances of the most vexing parse Change-Id: I6195bb5cd3ea0fb85e4e10a78319936f0fe5f3f3 Refs: #4545
diff --git a/tests/unit-tests/security/signature-sha256-with-ecdsa.t.cpp b/tests/unit-tests/security/signature-sha256-with-ecdsa.t.cpp index edc15d7..658b1c2 100644 --- a/tests/unit-tests/security/signature-sha256-with-ecdsa.t.cpp +++ b/tests/unit-tests/security/signature-sha256-with-ecdsa.t.cpp
@@ -77,7 +77,7 @@ Block sigValueBlock(sigValue, sizeof(sigValue)); Signature sig(sigInfoBlock, sigValueBlock); - BOOST_CHECK_NO_THROW(SignatureSha256WithEcdsa(sig)); + BOOST_CHECK_NO_THROW(SignatureSha256WithEcdsa{sig}); BOOST_CHECK_NO_THROW(sig.getKeyLocator()); }
diff --git a/tests/unit-tests/security/signature-sha256-with-rsa.t.cpp b/tests/unit-tests/security/signature-sha256-with-rsa.t.cpp index 4348ade..4599178 100644 --- a/tests/unit-tests/security/signature-sha256-with-rsa.t.cpp +++ b/tests/unit-tests/security/signature-sha256-with-rsa.t.cpp
@@ -82,7 +82,7 @@ Block sigValueBlock(sigValue, sizeof(sigValue)); Signature sig(sigInfoBlock, sigValueBlock); - BOOST_CHECK_NO_THROW(SignatureSha256WithRsa(sig)); + BOOST_CHECK_NO_THROW(SignatureSha256WithRsa{sig}); BOOST_CHECK_NO_THROW(sig.getKeyLocator()); }