mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
Change OSSL_PARAM_UTF8_STRING_PTR to OSSL_PARAM_UTF8_PTR
In unrelated code Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8451)
This commit is contained in:
parent
eabf91cd11
commit
e2146e120f
@ -381,8 +381,8 @@ int ossl_provider_get_params(const OSSL_PROVIDER *prov,
|
||||
* never knows.
|
||||
*/
|
||||
static const OSSL_ITEM param_types[] = {
|
||||
{ OSSL_PARAM_UTF8_STRING_PTR, "openssl-version" },
|
||||
{ OSSL_PARAM_UTF8_STRING_PTR, "provider-name" },
|
||||
{ OSSL_PARAM_UTF8_PTR, "openssl-version" },
|
||||
{ OSSL_PARAM_UTF8_PTR, "provider-name" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
|
@ -53,9 +53,9 @@ static int p_get_params(const OSSL_PROVIDER *prov, OSSL_PARAM params[])
|
||||
static char *opensslv = NULL;
|
||||
static char *provname = NULL;
|
||||
static OSSL_PARAM counter_request[] = {
|
||||
{ "openssl-version", OSSL_PARAM_UTF8_STRING_PTR,
|
||||
{ "openssl-version", OSSL_PARAM_UTF8_PTR,
|
||||
&opensslv, sizeof(&opensslv), NULL },
|
||||
{ "provider-name", OSSL_PARAM_UTF8_STRING_PTR,
|
||||
{ "provider-name", OSSL_PARAM_UTF8_PTR,
|
||||
&provname, sizeof(&provname), NULL},
|
||||
{ NULL, 0, NULL, 0, NULL }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user