From: Felix Dörre Date: Tue, 10 Feb 2015 01:15:58 +0000 (+0100) Subject: UPD: calling 'getSignature' on unsigned CRLs violates contract X-Git-Url: https://code.wpia.club/?p=cassiopeia.git;a=commitdiff_plain;h=98913da09f32fd12c5e1bfda53f823498befe082 UPD: calling 'getSignature' on unsigned CRLs violates contract (from now on) due to openssl, strange behaviour --- diff --git a/test/src/CRL.cpp b/test/src/CRL.cpp index c3c999b..f28ef1d 100644 --- a/test/src/CRL.cpp +++ b/test/src/CRL.cpp @@ -14,7 +14,6 @@ BOOST_AUTO_TEST_CASE( SeperateSignature ) { std::shared_ptr ca = CAs.at( "unassured" ); CRL c( "" ); - c.setSignature( c.getSignature() ); c.sign( ca ); std::string oldsig = c.getSignature(); BOOST_CHECK( c.verify( ca ) );