summaryrefslogtreecommitdiff
path: root/crypto/params_from_text.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-04-22 14:10:24 +1000
committerPauli <paul.dale@oracle.com>2020-04-25 18:46:01 +1000
commit2baf2d81e3e1d7813452509b13c3439994322c91 (patch)
tree76b9138c0121abcd2acf52fb5b617d6b7e5dee64 /crypto/params_from_text.c
parent6a960a94ccba41420c11ebd3eb82208b4681ee05 (diff)
downloadopenssl-new-2baf2d81e3e1d7813452509b13c3439994322c91.tar.gz
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.c2
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;
}