diff options
| author | tb <> | 2023-04-01 11:10:55 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-01 11:10:55 +0000 |
| commit | a24ded85fa62ee9db1f8c941696f4693365dc4a4 (patch) | |
| tree | c08f84780e653825fa96e6914c7cdbd7da91c6fb /src | |
| parent | 987c184e9a8b224c8b67f826017fc9a2e631e5c2 (diff) | |
| download | openbsd-a24ded85fa62ee9db1f8c941696f4693365dc4a4.tar.gz openbsd-a24ded85fa62ee9db1f8c941696f4693365dc4a4.tar.bz2 openbsd-a24ded85fa62ee9db1f8c941696f4693365dc4a4.zip | |
Indent labels
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_gcd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/bn/bn_gcd.c b/src/lib/libcrypto/bn/bn_gcd.c index 8a399725e5..905178913c 100644 --- a/src/lib/libcrypto/bn/bn_gcd.c +++ b/src/lib/libcrypto/bn/bn_gcd.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_gcd.c,v 1.24 2023/04/01 11:08:43 tb Exp $ */ | 1 | /* $OpenBSD: bn_gcd.c,v 1.25 2023/04/01 11:10:55 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -176,7 +176,7 @@ euclid(BIGNUM *a, BIGNUM *b) | |||
| 176 | } | 176 | } |
| 177 | return (a); | 177 | return (a); |
| 178 | 178 | ||
| 179 | err: | 179 | err: |
| 180 | return (NULL); | 180 | return (NULL); |
| 181 | } | 181 | } |
| 182 | 182 | ||
| @@ -213,7 +213,7 @@ BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx) | |||
| 213 | goto err; | 213 | goto err; |
| 214 | ret = 1; | 214 | ret = 1; |
| 215 | 215 | ||
| 216 | err: | 216 | err: |
| 217 | BN_CTX_end(ctx); | 217 | BN_CTX_end(ctx); |
| 218 | return (ret); | 218 | return (ret); |
| 219 | } | 219 | } |
| @@ -361,7 +361,7 @@ BN_gcd_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, | |||
| 361 | if (!bn_copy(R, A)) | 361 | if (!bn_copy(R, A)) |
| 362 | goto err; | 362 | goto err; |
| 363 | ret = R; | 363 | ret = R; |
| 364 | err: | 364 | err: |
| 365 | if ((ret == NULL) && (in == NULL)) | 365 | if ((ret == NULL) && (in == NULL)) |
| 366 | BN_free(R); | 366 | BN_free(R); |
| 367 | BN_CTX_end(ctx); | 367 | BN_CTX_end(ctx); |
| @@ -536,7 +536,7 @@ BN_mod_inverse_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, | |||
| 536 | } | 536 | } |
| 537 | ret = R; | 537 | ret = R; |
| 538 | 538 | ||
| 539 | err: | 539 | err: |
| 540 | if ((ret == NULL) && (in == NULL)) | 540 | if ((ret == NULL) && (in == NULL)) |
| 541 | BN_free(R); | 541 | BN_free(R); |
| 542 | BN_CTX_end(ctx); | 542 | BN_CTX_end(ctx); |
| @@ -827,7 +827,7 @@ BN_mod_inverse_internal(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ct | |||
| 827 | } | 827 | } |
| 828 | ret = R; | 828 | ret = R; |
| 829 | 829 | ||
| 830 | err: | 830 | err: |
| 831 | if ((ret == NULL) && (in == NULL)) | 831 | if ((ret == NULL) && (in == NULL)) |
| 832 | BN_free(R); | 832 | BN_free(R); |
| 833 | BN_CTX_end(ctx); | 833 | BN_CTX_end(ctx); |
