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
2 changed files with 4 additions and 4 deletions
|
@ -381,8 +381,8 @@ int ossl_provider_get_params(const OSSL_PROVIDER *prov,
|
||||||
* never knows.
|
* never knows.
|
||||||
*/
|
*/
|
||||||
static const OSSL_ITEM param_types[] = {
|
static const OSSL_ITEM param_types[] = {
|
||||||
{ OSSL_PARAM_UTF8_STRING_PTR, "openssl-version" },
|
{ OSSL_PARAM_UTF8_PTR, "openssl-version" },
|
||||||
{ OSSL_PARAM_UTF8_STRING_PTR, "provider-name" },
|
{ OSSL_PARAM_UTF8_PTR, "provider-name" },
|
||||||
{ 0, NULL }
|
{ 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -53,9 +53,9 @@ static int p_get_params(const OSSL_PROVIDER *prov, OSSL_PARAM params[])
|
||||||
static char *opensslv = NULL;
|
static char *opensslv = NULL;
|
||||||
static char *provname = NULL;
|
static char *provname = NULL;
|
||||||
static OSSL_PARAM counter_request[] = {
|
static OSSL_PARAM counter_request[] = {
|
||||||
{ "openssl-version", OSSL_PARAM_UTF8_STRING_PTR,
|
{ "openssl-version", OSSL_PARAM_UTF8_PTR,
|
||||||
&opensslv, sizeof(&opensslv), NULL },
|
&opensslv, sizeof(&opensslv), NULL },
|
||||||
{ "provider-name", OSSL_PARAM_UTF8_STRING_PTR,
|
{ "provider-name", OSSL_PARAM_UTF8_PTR,
|
||||||
&provname, sizeof(&provname), NULL},
|
&provname, sizeof(&provname), NULL},
|
||||||
{ NULL, 0, NULL, 0, NULL }
|
{ NULL, 0, NULL, 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue