diff options
author | tb <> | 2023-07-02 04:17:00 +0000 |
---|---|---|
committer | tb <> | 2023-07-02 04:17:00 +0000 |
commit | 0ded9dcf305231c596837cf0e9a372d5fc79b18b (patch) | |
tree | 21792167d1c20274339eb5d5b8ae739237947886 /src/lib | |
parent | d8720a8dea3706e98a2a858dafb2c8a88caf0d18 (diff) | |
download | openbsd-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.c | 4 |
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, | |||
588 | int | 588 | int |
589 | ECDSA_size(const EC_KEY *r) | 589 | ECDSA_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 | ||