]> WPIA git - cassiopeia.git/commitdiff
UPD: calling 'getSignature' on unsigned CRLs violates contract
authorFelix Dörre <felix@dogcraft.de>
Tue, 10 Feb 2015 01:15:58 +0000 (02:15 +0100)
committerFelix Dörre <felix@dogcraft.de>
Tue, 10 Feb 2015 01:18:17 +0000 (02:18 +0100)
(from now on) due to openssl, strange behaviour

test/src/CRL.cpp

index c3c999b74b51209dc3d834dee6a74866b970cfda..f28ef1d379b0d069d77af54cf2d5aa28bf42d4ff 100644 (file)
@@ -14,7 +14,6 @@ BOOST_AUTO_TEST_CASE( SeperateSignature ) {
     std::shared_ptr<CAConfig> ca = CAs.at( "unassured" );
 
     CRL c( "" );
-    c.setSignature( c.getSignature() );
     c.sign( ca );
     std::string oldsig = c.getSignature();
     BOOST_CHECK( c.verify( ca ) );