summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-07-02 04:17:00 +0000
committertb <>2023-07-02 04:17:00 +0000
commit0ded9dcf305231c596837cf0e9a372d5fc79b18b (patch)
tree21792167d1c20274339eb5d5b8ae739237947886 /src/lib
parentd8720a8dea3706e98a2a858dafb2c8a88caf0d18 (diff)
downloadopenbsd-0ded9dcf305231c596837cf0e9a372d5fc79b18b.tar.gz
openbsd-0ded9dcf305231c596837cf0e9a372d5fc79b18b.tar.bz2
openbsd-0ded9dcf305231c596837cf0e9a372d5fc79b18b.zip
ECDSA_size(): move order a few lines down
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ecdsa/ecs_ossl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c
index 8614bf1968..7c65fa79eb 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.38 2023/07/02 03:20:44 tb Exp $ */ 1/* $OpenBSD: ecs_ossl.c,v 1.39 2023/07/02 04:17:00 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project 3 * Written by Nils Larsch for the OpenSSL project
4 */ 4 */
@@ -588,8 +588,8 @@ ECDSA_verify(int type, const unsigned char *dgst, int dgst_len,
588int 588int
589ECDSA_size(const EC_KEY *r) 589ECDSA_size(const EC_KEY *r)
590{ 590{
591 BIGNUM *order = NULL;
592 const EC_GROUP *group; 591 const EC_GROUP *group;
592 BIGNUM *order = NULL;
593 ECDSA_SIG signature; 593 ECDSA_SIG signature;
594 int ret = 0; 594 int ret = 0;
595 595