aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-03 17:57:34 -0400
committerRob Austein <sra@hactrn.net>2017-04-03 17:57:34 -0400
commit813f1c6988d4f70047486f207fd151f6a5e3bd26 (patch)
treedb30c9758f7d8fd11f28182b5af7224a496426a8 /ecdsa.c
parent33694de72d8a1c5714bea76ed70c755b5bb64a3e (diff)
Obscure C syntax nit.
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecdsa.c b/ecdsa.c
index 3fa720c..8a31504 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -880,7 +880,7 @@ static hal_error_t point_pick_random(const ecdsa_curve_t * const curve,
switch (curve->curve) {
#if HAL_ECDSA_VERILOG_ECDSA256_MULTIPLIER
- case HAL_CURVE_P256:
+ case HAL_CURVE_P256:;
static const verilog_ecdsa_driver_t p256_driver = {
.name = ECDSA256_NAME,
.bytes = ECDSA256_OPERAND_BITS / 8,
@@ -894,7 +894,7 @@ static hal_error_t point_pick_random(const ecdsa_curve_t * const curve,
#endif
#if HAL_ECDSA_VERILOG_ECDSA384_MULTIPLIER
- case HAL_CURVE_P384:
+ case HAL_CURVE_P384:;
static const verilog_ecdsa_driver_t p384_driver = {
.name = ECDSA384_NAME,
.bytes = ECDSA384_OPERAND_BITS / 8,