mirror of
https://github.com/novatiq/packages.git
synced 2026-04-28 14:48:39 +01:00
79dfbd8016
Fixes https://github.com/openwrt/packages/issues/13016 Patch [1] broke compilation for python-pynacl. The fix is to patch PyNaCl to consider that PYNACL_HAS_CRYPTO_SCALARMULT_ED25519 is always available. [1] https://github.com/openwrt/packages/commit/3ef28a4ab0cb60877c4ec68f5ba8c276021a1ab6 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
14 lines
434 B
Diff
14 lines
434 B
Diff
diff --git a/src/bindings/minimal/crypto_scalarmult.h b/src/bindings/minimal/crypto_scalarmult.h
|
|
index 06ca1ef..9bc3d8e 100644
|
|
--- a/src/bindings/minimal/crypto_scalarmult.h
|
|
+++ b/src/bindings/minimal/crypto_scalarmult.h
|
|
@@ -13,7 +13,7 @@
|
|
* limitations under the License.
|
|
*/
|
|
|
|
-#ifdef SODIUM_LIBRARY_MINIMAL
|
|
+#if 0
|
|
static const int PYNACL_HAS_CRYPTO_SCALARMULT_ED25519 = 0;
|
|
|
|
size_t (*crypto_scalarmult_ed25519_bytes)() = NULL;
|