summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-07-02 04:17:01 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-07-02 04:17:01 +0000
commit511ba7c7124eaacf9a37b710c3badb9e23b55893 (patch)
tree967dc5dde2ae88dbd02f2be8319c7a22628e1658 /lib
parent3496f97c0ecbb102a879f456b83b7c554586f261 (diff)
ECDSA_size(): move order a few lines down
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/ecdsa/ecs_ossl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ecdsa/ecs_ossl.c b/lib/libcrypto/ecdsa/ecs_ossl.c
index 8614bf19680..7c65fa79eb9 100644
--- a/lib/libcrypto/ecdsa/ecs_ossl.c
+++ b/lib/libcrypto/ecdsa/ecs_ossl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecs_ossl.c,v 1.38 2023/07/02 03:20:44 tb Exp $ */
+/* $OpenBSD: ecs_ossl.c,v 1.39 2023/07/02 04:17:00 tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project
*/
@@ -588,8 +588,8 @@ ECDSA_verify(int type, const unsigned char *dgst, int dgst_len,
int
ECDSA_size(const EC_KEY *r)
{
- BIGNUM *order = NULL;
const EC_GROUP *group;
+ BIGNUM *order = NULL;
ECDSA_SIG signature;
int ret = 0;