aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-04-01 23:17:41 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-04-01 23:17:41 +0300
commitcfd12aea23300f47acdb3127cc9da6e3bd242fab (patch)
tree4800855290c2b11ef03fb3d4118af50c67b62e77
parente718fdfae6443466e566ed6ce1515cdecc215ac0 (diff)
Don't override curve if it was selected externally.fix
-rw-r--r--ecdsa_model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecdsa_model.h b/ecdsa_model.h
index 4039e25..787e1ea 100644
--- a/ecdsa_model.h
+++ b/ecdsa_model.h
@@ -45,7 +45,9 @@
// USE_CURVE == 2 -> P-384
//
//------------------------------------------------------------------------------
+#ifndef USE_CURVE
#define USE_CURVE 1
+#endif
//------------------------------------------------------------------------------