aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-pynacl/patches/001-always-compile-ed25519.patch
blob: 274f1ab06cfac95bdc667e8a10db4b5f8cf493be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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;
--- a/src/bindings/minimal/crypto_core.h
+++ b/src/bindings/minimal/crypto_core.h
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-#ifdef SODIUM_LIBRARY_MINIMAL
+#if 0
 static const int PYNACL_HAS_CRYPTO_CORE_ED25519 = 0;
 
 size_t (*crypto_core_ed25519_bytes)() = NULL;