summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-07-03 10:10:58 +0000
committertb <>2023-07-03 10:10:58 +0000
commit7587db5210bcfd6862b04635b43df183aeebfb4c (patch)
treec548b8c7f0af18fb8c46326f58aa0397ca34a681 /src
parent1bcd523281f80bada03f31e6dbf26d8076ce2297 (diff)
downloadopenbsd-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.c8
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
456ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, 456ossl_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) {