diff options
author | Felix Laurie von Massenbach <felix@erbridge.co.uk> | 2014-05-26 19:09:18 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2014-06-01 15:31:26 +0100 |
commit | e55fca760bc166b203ee5732ad0690848b3278f5 (patch) | |
tree | b0f4db5f47fef87a5bc08c76265cf90aba77070b /crypto/bn | |
parent | fce0ba5fcd4485bead9157614c9d0061ba7b7da3 (diff) | |
download | openssl-e55fca760bc166b203ee5732ad0690848b3278f5.tar.gz |
Remove indentation from the goto targets.
Diffstat (limited to 'crypto/bn')
-rw-r--r-- | crypto/bn/bn_prime.c | 8 |
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 |