diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ec_pmeth.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_pmeth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_pmeth.c b/src/lib/libcrypto/ec/ec_pmeth.c index 424d1896b2..6d74a7f8a4 100644 --- a/src/lib/libcrypto/ec/ec_pmeth.c +++ b/src/lib/libcrypto/ec/ec_pmeth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_pmeth.c,v 1.23 2024/10/19 14:41:03 tb Exp $ */ | 1 | /* $OpenBSD: ec_pmeth.c,v 1.24 2025/01/05 16:07:08 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -323,7 +323,7 @@ pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) | |||
| 323 | if (!ec_key->group) | 323 | if (!ec_key->group) |
| 324 | return -2; | 324 | return -2; |
| 325 | /* If cofactor is 1 cofactor mode does nothing */ | 325 | /* If cofactor is 1 cofactor mode does nothing */ |
| 326 | if (BN_is_one(&ec_key->group->cofactor)) | 326 | if (BN_is_one(ec_key->group->cofactor)) |
| 327 | return 1; | 327 | return 1; |
| 328 | if (!dctx->co_key) { | 328 | if (!dctx->co_key) { |
| 329 | dctx->co_key = EC_KEY_dup(ec_key); | 329 | dctx->co_key = EC_KEY_dup(ec_key); |
