- added cryptopp patch (fix for cryptopp 6+, from Gentoo); release 6
[packages/aMule.git] / aMule-cryptopp.patch
1 --- aMule-2.3.2/src/ClientCreditsList.cpp.orig  2016-09-16 09:55:06.000000000 +0200
2 +++ aMule-2.3.2/src/ClientCreditsList.cpp       2018-12-31 11:04:38.491753618 +0100
3 @@ -312,7 +312,7 @@
4                 // calculate and store public key
5                 CryptoPP::RSASSA_PKCS1v15_SHA_Verifier pubkey(*static_cast<CryptoPP::RSASSA_PKCS1v15_SHA_Signer *>(m_pSignkey));
6                 CryptoPP::ArraySink asink(m_abyMyPublicKey, 80);
7 -               pubkey.DEREncode(asink);
8 +               pubkey.GetMaterial().Save(asink);
9                 m_nMyPublicKeyLen = asink.TotalPutLength();
10                 asink.MessageEnd();
11         } catch (const CryptoPP::Exception& e) {
This page took 0.11096 seconds and 3 git commands to generate.