diff options
| author | tb <> | 2023-07-03 10:10:58 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-03 10:10:58 +0000 |
| commit | 7587db5210bcfd6862b04635b43df183aeebfb4c (patch) | |
| tree | c548b8c7f0af18fb8c46326f58aa0397ca34a681 /src | |
| parent | 1bcd523281f80bada03f31e6dbf26d8076ce2297 (diff) | |
| download | openbsd-7587db5210bcfd6862b04635b43df183aeebfb4c.tar.gz openbsd-7587db5210bcfd6862b04635b43df183aeebfb4c.tar.bz2 openbsd-7587db5210bcfd6862b04635b43df183aeebfb4c.zip | |
List variables in a somewhat more sensible order
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_ossl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c index 33e41b4c0f..0df5b2af56 100644 --- a/src/lib/libcrypto/ecdsa/ecs_ossl.c +++ b/src/lib/libcrypto/ecdsa/ecs_ossl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ecs_ossl.c,v 1.53 2023/07/03 10:09:12 tb Exp $ */ | 1 | /* $OpenBSD: ecs_ossl.c,v 1.54 2023/07/03 10:10:58 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
| 4 | */ | 4 | */ |
| @@ -456,12 +456,12 @@ int | |||
| 456 | ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, | 456 | ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, |
| 457 | EC_KEY *eckey) | 457 | EC_KEY *eckey) |
| 458 | { | 458 | { |
| 459 | BN_CTX *ctx = NULL; | ||
| 460 | BIGNUM *u1, *u2, *m, *x; | ||
| 461 | EC_POINT *point = NULL; | ||
| 462 | const EC_GROUP *group; | 459 | const EC_GROUP *group; |
| 463 | const EC_POINT *pub_key; | 460 | const EC_POINT *pub_key; |
| 461 | EC_POINT *point = NULL; | ||
| 464 | const BIGNUM *order; | 462 | const BIGNUM *order; |
| 463 | BN_CTX *ctx = NULL; | ||
| 464 | BIGNUM *u1, *u2, *m, *x; | ||
| 465 | int ret = -1; | 465 | int ret = -1; |
| 466 | 466 | ||
| 467 | if (eckey == NULL || sig == NULL) { | 467 | if (eckey == NULL || sig == NULL) { |
