openssl/crypto/store
Petr Gotthard a5f2782cec Fix OSSL_PARAM creation in OSSL_STORE_open_ex
The params[0].data is set to a non-NULL value, but params[0].data_size
is always zero. This confuses get_string_internal, which creates 1 byte
string with uninitialized content.

When OSSL_PARAM_construct_utf8_string is used, the data_size is set
correctly.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13699)
2020-12-19 11:33:21 +01:00
..
build.info STORE: Deprecate legacy / ENGINE functions 2020-09-03 17:48:32 +02:00
store_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
store_init.c Update copyright year 2020-10-15 14:10:06 +01:00
store_lib.c Fix OSSL_PARAM creation in OSSL_STORE_open_ex 2020-12-19 11:33:21 +01:00
store_local.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
store_meth.c Rename some occurrences of 'library_context' and 'lib_ctx' to 'libctx' 2020-10-15 12:00:21 +01:00
store_register.c Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
store_result.c remove unused assignments 2020-12-03 11:21:33 +10:00
store_strings.c Update copyright year 2020-10-15 14:10:06 +01:00