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/params_from_text.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/params_from_text.c')
-rw-r--r-- | crypto/params_from_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/params_from_text.c b/crypto/params_from_text.c index 25671c592c..14b64edb6b 100644 --- a/crypto/params_from_text.c +++ b/crypto/params_from_text.c @@ -157,7 +157,7 @@ static int construct_from_text(OSSL_PARAM *to, const OSSL_PARAM *paramdef, *to = *paramdef; to->data = buf; to->data_size = buf_n; - to->return_size = 0; + to->return_size = OSSL_PARAM_UNMODIFIED; return 1; } |