summaryrefslogtreecommitdiffstats
path: root/crypto/ffc
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-07-14 12:32:03 +0200
committerHugo Landau <hlandau@openssl.org>2022-07-18 08:06:17 +0100
commit5f311b10ab3dd6417a3247c62b4ec072751459db (patch)
tree0755cd26a8c625c9b9dae7b0eb002e6d8fcdbba9 /crypto/ffc
parent2266d1cad008ef03cb0791397b1cca9aaa6a4428 (diff)
ossl_ffc_params_copy: Copy the keylength too
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18480)
Diffstat (limited to 'crypto/ffc')
-rw-r--r--crypto/ffc/ffc_params.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ffc/ffc_params.c b/crypto/ffc/ffc_params.c
index 073f661c7c..fb558f8221 100644
--- a/crypto/ffc/ffc_params.c
+++ b/crypto/ffc/ffc_params.c
@@ -196,6 +196,7 @@ int ossl_ffc_params_copy(FFC_PARAMS *dst, const FFC_PARAMS *src)
dst->h = src->h;
dst->gindex = src->gindex;
dst->flags = src->flags;
+ dst->keylength = src->keylength;
return 1;
}