From b1907a64f088cf6a446a2a27d26ab4b59095e35b Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Wed, 20 May 2015 22:50:37 -0400 Subject: [PATCH] Removed unnecessary private key check in uECC_make_key. --- uECC.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/uECC.c b/uECC.c index 3f83a31..4c3a14c 100644 --- a/uECC.c +++ b/uECC.c @@ -1826,10 +1826,6 @@ int uECC_make_key(uint8_t p_publicKey[uECC_BYTES*2], uint8_t p_privateKey[uECC_B { return 0; } - if(vli_isZero(l_private)) - { - continue; - } if (EccPoint_compute_public_key(&l_public, l_private)) { break;