OK, it turns out that when you reset(), you have to put the keys/certs back in. With that, it stops asserting. Then it just fails to compare the messages. If you encrypt the same data, with the same certs, twice, you don't get the same result each time.
OK, it turns out that when you reset(), you have
to put the keys/certs back in. With that, it stops
asserting. Then it just fails to compare the messages.
If you encrypt the same data, with the same certs,
twice, you don't get the same result each time.

So I added the decrypt part, including re-use, and
checked that if you encrypt the same data twice, then
each decrypt produces the same result, and that result
is exactly what you started with. The test now passes.

svn path=/trunk/kdesupport/qca/; revision=529009

Esf-Software/qca,JoshuaKolden/qca,highfidelity/qca,JoshuaKolden/qca,oktavarium/qca,highfidelity/qca,JoshuaKolden/qca,karolherbst/qca,sladage/qca,KDE/qca,sladage/qca,highfidelity/qca,KDE/qca,Esf-Software/qca,oktavarium/qca,Esf-Software/qca,Esf-Software/qca,highfidelity/qca,sladage/qca,Bjoe/qca,Bjoe/qca,KDE/qca,karolherbst/qca,Bjoe/qca,JoshuaKolden/qca,KDE/qca,Bjoe/qca,karolherbst/qca,sladage/qca,oktavarium/qca,oktavarium/qca,karolherbst/qca