openwrt-packages/lang/python/python-pynacl/patches/001-always-compile-scalar-m...

12 lines
307 B
Diff

--- 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;