Fix -Wsign-conversion warning in x509_name_to_utf8()

This commit is contained in:
olszomal
2025-07-01 11:57:44 +02:00
committed by Michał Trojnara
parent 55541c6ace
commit 5ac11e9f58

View File

@ -1766,7 +1766,7 @@ static char *x509_name_to_utf8(const X509_NAME *name)
flags = XN_FLAG_RFC2253 | ASN1_STRFLGS_UTF8_CONVERT |
ASN1_STRFLGS_ESC_CTRL;
flags &= ~ASN1_STRFLGS_ESC_MSB;
flags &= ~(unsigned long)ASN1_STRFLGS_ESC_MSB;
bio = BIO_new(BIO_s_mem());
if (!bio)