mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
ab00ddb559
When some function receives an OSSL_PARAM array to pilfer for data, and there is a string of some sort, and all the code needs is to get the pointer to the data, rather than a copy, there is currently no other way than to use |param->data| directly. This is of course a valid method, but lacks any safety check (is |param->data_type| correct, for example?). OSSL_PARAM_get_utf8_string_ptr() and OSSL_PARAM_get_octet_string_ptr() helps the programmer with such things, by setting the argument pointer to |param->data|. Additionally, the handle the data types OSSL_PARAM_UTF8_PTR and OSSL_PARAM_OCTET_PTR as well. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12512) |
||
---|---|---|
.. | ||
perl | ||
add-depends.pl | ||
build.info | ||
cavs-to-evptest.pl | ||
check-format-test-negatives.c | ||
check-format-test-positives.c | ||
check-format.pl | ||
check-malloc-errs | ||
ck_errf.pl | ||
copy.pl | ||
dofile.pl | ||
echo.pl | ||
engines.num | ||
err-to-raise | ||
find-doc-nits | ||
find-unused-errs | ||
fix-includes | ||
fix-includes.sed | ||
indent.pro | ||
libcrypto.num | ||
libssl.num | ||
local_shlib.com.in | ||
markdownlint.rb | ||
merge-err-lines | ||
missingcrypto111.txt | ||
missingcrypto-internal.txt | ||
missingcrypto.txt | ||
missingmacro111.txt | ||
missingmacro.txt | ||
missingssl111.txt | ||
missingssl-internal.txt | ||
missingssl.txt | ||
mkbuildinf.pl | ||
mkdef.pl | ||
mkdir-p.pl | ||
mkerr.pl | ||
mknum.pl | ||
mkpod2html.pl | ||
mkrc.pl | ||
mktar.sh | ||
opensslwrap.sh | ||
other-internal.syms | ||
other.syms | ||
providers.num | ||
shlib_wrap.sh.in | ||
su-filter.pl | ||
unlocal_shlib.com.in | ||
wrap.pl |