diff options
| author | tb <> | 2023-07-10 19:10:51 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-10 19:10:51 +0000 |
| commit | 8f3123d5eff1a9f795c23cfe59eb30176f1352d4 (patch) | |
| tree | 188ad523cb4934f0438a672c29b43809f9f2dca9 /src | |
| parent | d0449ba6b2e5b1a7b4e26a3e4d4d1096702c59c3 (diff) | |
| download | openbsd-8f3123d5eff1a9f795c23cfe59eb30176f1352d4.tar.gz openbsd-8f3123d5eff1a9f795c23cfe59eb30176f1352d4.tar.bz2 openbsd-8f3123d5eff1a9f795c23cfe59eb30176f1352d4.zip | |
Rename EC_KEY from r to key like in the rest of the file
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ecdsa/ecdsa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.c b/src/lib/libcrypto/ecdsa/ecdsa.c index 5a93b84637..e47ec21281 100644 --- a/src/lib/libcrypto/ecdsa/ecdsa.c +++ b/src/lib/libcrypto/ecdsa/ecdsa.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ecdsa.c,v 1.11 2023/07/07 13:54:45 beck Exp $ */ | 1 | /* $OpenBSD: ecdsa.c,v 1.12 2023/07/10 19:10:51 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -166,17 +166,17 @@ ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) | |||
| 166 | LCRYPTO_ALIAS(ECDSA_SIG_set0); | 166 | LCRYPTO_ALIAS(ECDSA_SIG_set0); |
| 167 | 167 | ||
| 168 | int | 168 | int |
| 169 | ECDSA_size(const EC_KEY *r) | 169 | ECDSA_size(const EC_KEY *key) |
| 170 | { | 170 | { |
| 171 | const EC_GROUP *group; | 171 | const EC_GROUP *group; |
| 172 | const BIGNUM *order = NULL; | 172 | const BIGNUM *order = NULL; |
| 173 | ECDSA_SIG sig; | 173 | ECDSA_SIG sig; |
| 174 | int ret = 0; | 174 | int ret = 0; |
| 175 | 175 | ||
| 176 | if (r == NULL) | 176 | if (key == NULL) |
| 177 | goto err; | 177 | goto err; |
| 178 | 178 | ||
| 179 | if ((group = EC_KEY_get0_group(r)) == NULL) | 179 | if ((group = EC_KEY_get0_group(key)) == NULL) |
| 180 | goto err; | 180 | goto err; |
| 181 | 181 | ||
| 182 | if ((order = EC_GROUP_get0_order(group)) == NULL) | 182 | if ((order = EC_GROUP_get0_order(group)) == NULL) |
