echelon wrote: ↑27 May 2022 08:43
Please make a patch for the git on i2pgit.org
echelon
Code: Select all
--- a/configure
+++ b/configure
@@ -14736,16 +14736,16 @@ main ()
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-
- result=yes
- BFD_CPPFLAGS="-DHAVE_BFD"
- BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
- LIBS="$mule_backup_LIBS"
- LDFLAGS="$mule_backup_LDFLAGS"
- break
-
-fi
+# if ac_fn_c_try_link "$LINENO"; then :
+#
+# result=yes
+# BFD_CPPFLAGS="-DHAVE_BFD"
+# BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
+# LIBS="$mule_backup_LIBS"
+# LDFLAGS="$mule_backup_LDFLAGS"
+# break
+#
+# fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS="$mule_backup_LIBS"
--- a/src/ClientCreditsList.cpp
+++ b/src/ClientCreditsList.cpp
@@ -311,7 +311,7 @@ void CClientCreditsList::InitalizeCrypting()
// calculate and store public key
CryptoPP::RSASSA_PKCS1v15_SHA_Verifier pubkey(*static_cast<CryptoPP::RSASSA_PKCS1v15_SHA_Signer *>(m_pSignkey));
CryptoPP::ArraySink asink(m_abyMyPublicKey, 80);
- pubkey.DEREncode(asink);
+ pubkey.GetKey().DEREncode(asink);
m_nMyPublicKeyLen = asink.TotalPutLength();
asink.MessageEnd();