summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_prime.c
diff options
context:
space:
mode:
authorFelix Laurie von Massenbach <felix@erbridge.co.uk>2014-05-26 19:09:18 +0100
committerBen Laurie <ben@links.org>2014-06-01 15:31:26 +0100
commite55fca760bc166b203ee5732ad0690848b3278f5 (patch)
treeb0f4db5f47fef87a5bc08c76265cf90aba77070b /crypto/bn/bn_prime.c
parentfce0ba5fcd4485bead9157614c9d0061ba7b7da3 (diff)
Remove indentation from the goto targets.
Diffstat (limited to 'crypto/bn/bn_prime.c')
-rw-r--r--crypto/bn/bn_prime.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c
index 339dbec570..06b1a286a5 100644
--- a/crypto/bn/bn_prime.c
+++ b/crypto/bn/bn_prime.c
@@ -409,7 +409,7 @@ again:
maxdelta = size_limit;
}
delta=0;
- loop:
+loop:
if (is_single_word)
{
BN_ULONG rnd_word = BN_get_word(rnd);
@@ -476,7 +476,8 @@ static int probable_prime_dh(BIGNUM *rnd, int bits,
/* we now have a random number 'rand' to test. */
- loop: for (i=1; i<NUMPRIMES; i++)
+loop:
+ for (i=1; i<NUMPRIMES; i++)
{
/* check that rnd is a prime */
if (BN_mod_word(rnd,(BN_ULONG)primes[i]) <= 1)
@@ -524,7 +525,8 @@ static int probable_prime_dh_safe(BIGNUM *p, int bits, const BIGNUM *padd,
if (!BN_lshift1(p,q)) goto err;
if (!BN_add_word(p,1)) goto err;
- loop: for (i=1; i<NUMPRIMES; i++)
+loop:
+ for (i=1; i<NUMPRIMES; i++)
{
/* check that p and q are prime */
/* check that for p and q