aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-01-03 09:44:10 -0500
committerNick Mathewson <nickm@torproject.org>2019-01-03 09:44:10 -0500
commit98736cf36a1d8250e53a0c86a0b80fdb75f0d551 (patch)
tree7ee43e7e7bec0e13b16ecb1f9499b6fcca0d1514 /src/lib
parented62f0fa151f7a21a9634fbec1e95832ddbede94 (diff)
parent041e9235c1710936a43f73d2f6e87bfc6e1c2242 (diff)
downloadtor-98736cf36a1d8250e53a0c86a0b80fdb75f0d551.tar.gz
tor-98736cf36a1d8250e53a0c86a0b80fdb75f0d551.zip
Merge remote-tracking branch 'public/ticket28838_035' into maint-0.3.5
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/crypt_ops/crypto_curve25519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypt_ops/crypto_curve25519.c b/src/lib/crypt_ops/crypto_curve25519.c
index e6a39a8c08..f3a9de9fc5 100644
--- a/src/lib/crypt_ops/crypto_curve25519.c
+++ b/src/lib/crypt_ops/crypto_curve25519.c
@@ -289,7 +289,7 @@ curve25519_basepoint_spot_check(void)
0x0d,0xbf,0x3a,0x0d,0x26,0x38,0x1a,0xf4,
0xeb,0xa4,0xa9,0x8e,0xaa,0x9b,0x4e,0x6a
};
- const int loop_max=200;
+ const int loop_max=8;
int save_use_ed = curve25519_use_ed;
unsigned char e1[32], e2[32];
unsigned char x[32],y[32];