From: Dr. David von Oheimb Date: Fri, 9 May 2025 09:44:57 +0000 (+0200) Subject: APPS/cmp.c: fix char encoding of subject, issuer, sender, and recipient DN X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35e431ed6daa894ee5385363cf4cfe4954312e4d;p=thirdparty%2Fopenssl.git APPS/cmp.c: fix char encoding of subject, issuer, sender, and recipient DN Fixes #27572 Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27592) --- diff --git a/apps/cmp.c b/apps/cmp.c index 291d62bfcb8..5f86ee19a26 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -955,7 +955,7 @@ static int set_name(const char *str, OSSL_CMP_CTX *ctx, const char *desc) { if (str != NULL) { - X509_NAME *n = parse_name(str, MBSTRING_ASC, 1, desc); + X509_NAME *n = parse_name(str, MBSTRING_UTF8, 1, desc); if (n == NULL) return 0;