Commit e2146e12 authored by Richard Levitte's avatar Richard Levitte
Browse files

Change OSSL_PARAM_UTF8_STRING_PTR to OSSL_PARAM_UTF8_PTR



In unrelated code

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8451)
parent eabf91cd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 }
};

+2 −2
Original line number Diff line number Diff line
@@ -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 }
            };