diff options
author | Pauli <paul.dale@oracle.com> | 2020-04-22 14:10:24 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-04-25 18:46:01 +1000 |
commit | 2baf2d81e3e1d7813452509b13c3439994322c91 (patch) | |
tree | 76b9138c0121abcd2acf52fb5b617d6b7e5dee64 /crypto/param_build.c | |
parent | 6a960a94ccba41420c11ebd3eb82208b4681ee05 (diff) |
params: handle the modified sentinel.
The param builder and the params from text helpers also need to be modified
aware.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11601)
Diffstat (limited to 'crypto/param_build.c')
-rw-r--r-- | crypto/param_build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/param_build.c b/crypto/param_build.c index 5927d01239..c4624ec33e 100644 --- a/crypto/param_build.c +++ b/crypto/param_build.c @@ -312,7 +312,7 @@ static OSSL_PARAM *param_bld_convert(OSSL_PARAM_BLD *bld, OSSL_PARAM *param, param[i].key = pd->key; param[i].data_type = pd->type; param[i].data_size = pd->size; - param[i].return_size = 0; + param[i].return_size = OSSL_PARAM_UNMODIFIED; if (pd->secure) { p = secure; |