mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 14:39:53 +01:00
cleanup
This commit is contained in:
parent
aa68d8e976
commit
c82e1c7085
@ -108,8 +108,6 @@ void EVPTest::testRSAEVPPKey()
|
||||
assertTrue (sizePub1 && (sizePub1 == sizePub2));
|
||||
assertTrue (0 == memcmp(pPubData1, pPubData2, sizePub1));
|
||||
|
||||
#ifdef POCO_ENABLE_CPP11
|
||||
|
||||
BIO_free(bioPub2);
|
||||
BIO_free(bioPriv2);
|
||||
|
||||
@ -128,8 +126,6 @@ void EVPTest::testRSAEVPPKey()
|
||||
assertTrue (sizePub1 && (sizePub1 == sizePub2));
|
||||
assertTrue (0 == memcmp(pPubData1, pPubData2, sizePub1));
|
||||
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
|
||||
BIO_free(bioPub2);
|
||||
BIO_free(bioPriv2);
|
||||
BIO_free(bioPub1);
|
||||
@ -274,8 +270,6 @@ void EVPTest::testECEVPPKey()
|
||||
assertTrue (sizePub1 && (sizePub1 == sizePub2));
|
||||
assertTrue (0 == memcmp(pPubData1, pPubData2, sizePub1));
|
||||
|
||||
#ifdef POCO_ENABLE_CPP11
|
||||
|
||||
BIO_free(bioPub2);
|
||||
BIO_free(bioPriv2);
|
||||
|
||||
@ -293,7 +287,6 @@ void EVPTest::testECEVPPKey()
|
||||
assertTrue (0 == memcmp(pPrivData1, pPrivData2, sizePriv1));
|
||||
assertTrue (sizePub1 && (sizePub1 == sizePub2));
|
||||
assertTrue (0 == memcmp(pPubData1, pPubData2, sizePub1));
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
|
||||
BIO_free(bioPub2);
|
||||
BIO_free(bioPriv2);
|
||||
|
@ -59,16 +59,11 @@ void PKCS12ContainerTest::testFullPKCS12()
|
||||
pkcs3 = pkcs2;
|
||||
full(pkcs3);
|
||||
|
||||
#ifdef POCO_ENABLE_CPP11
|
||||
|
||||
pkcs3 = std::move(pkcs);
|
||||
full(pkcs3);
|
||||
|
||||
PKCS12Container pkcs4(std::move(pkcs2));
|
||||
full(pkcs4);
|
||||
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
|
||||
}
|
||||
catch (Poco::Exception& ex)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user