[Cryptech-Commits] [sw/libhal] 04/14: Obscure C syntax nit.
git at cryptech.is
git at cryptech.is
Thu Apr 6 23:38:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch pkcs8
in repository sw/libhal.
commit 813f1c6988d4f70047486f207fd151f6a5e3bd26
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Mon Apr 3 17:57:34 2017 -0400
Obscure C syntax nit.
---
ecdsa.c | 4 ++--
1 file 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,
More information about the Commits
mailing list