aboutsummaryrefslogtreecommitdiff
path: root/gmpsec.c
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@google.com>2017-10-19 17:24:02 -0400
committerGravatar Andres Erbsen <andreser@google.com>2017-10-19 17:24:02 -0400
commit6be4112f1f50295f1d2ff02fbed73cd6a2f2363e (patch)
tree5c28f0c73c975d588a0333bcd85d3e20b3e6e76a /gmpsec.c
parentae87a743d278fcebab73572372b95a7b90e3c58c (diff)
invscratch_sz
Diffstat (limited to 'gmpsec.c')
-rw-r--r--gmpsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmpsec.c b/gmpsec.c
index b2a0258b0..51e1fd3b9 100644
--- a/gmpsec.c
+++ b/gmpsec.c
@@ -28,7 +28,7 @@ int main() {
mp_size_t scratch_sz = mulscratch_sz;
scratch_sz = (sqrscratch_sz > scratch_sz) ? sqrscratch_sz : scratch_sz;
scratch_sz = (modscratch_sz > scratch_sz) ? modscratch_sz : scratch_sz;
- scratch_sz = (invscratch_sz > scratch_sz) ? modscratch_sz : scratch_sz;
+ scratch_sz = (invscratch_sz > scratch_sz) ? invscratch_sz : scratch_sz;
mp_limb_t scratch[scratch_sz];
// allocate scratch space for use by the following macros.