aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-04-01 23:49:30 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-04-01 23:49:30 +0300
commit1936e7a1d15e0f689d351d66216f97d215ccf424 (patch)
tree631be451bc3e1f23cc9c019a0d0672cdfa85eda9
parentc5bf04fed5c8db049dff71017f6241bd3fdc8cb7 (diff)
Don't override the curve if already selected.
-rw-r--r--ecdh_fpga_model.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ecdh_fpga_model.h b/ecdh_fpga_model.h
index 6b66c99..398d1d3 100644
--- a/ecdh_fpga_model.h
+++ b/ecdh_fpga_model.h
@@ -51,7 +51,9 @@
// USE_CURVE == 2 -> P-384
//
//------------------------------------------------------------------------------
-#define USE_CURVE 2
+#ifndef USE_CURVE
+#define USE_CURVE 1
+#endif
//------------------------------------------------------------------------------