diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-07-14 12:32:03 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-07-19 12:11:02 +0200 |
commit | ce4579adf94d5f26e566a1e04c8a52ec5943cdd0 (patch) | |
tree | 4f976bd10fb3922012b938ce9fa2c18975e50ffb /crypto | |
parent | 5eac066bef0c23bb74255423d335e634e4deb8d5 (diff) |
ossl_ffc_params_copy: Copy the keylength too
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/18793)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ffc/ffc_params.c | 1 |
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; } |