mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-03 03:32:47 -05:00
Fix -Wsign-conversion warning in x509_name_to_utf8()
This commit is contained in:

committed by
Michał Trojnara

parent
55541c6ace
commit
5ac11e9f58
@ -1766,7 +1766,7 @@ static char *x509_name_to_utf8(const X509_NAME *name)
|
|||||||
|
|
||||||
flags = XN_FLAG_RFC2253 | ASN1_STRFLGS_UTF8_CONVERT |
|
flags = XN_FLAG_RFC2253 | ASN1_STRFLGS_UTF8_CONVERT |
|
||||||
ASN1_STRFLGS_ESC_CTRL;
|
ASN1_STRFLGS_ESC_CTRL;
|
||||||
flags &= ~ASN1_STRFLGS_ESC_MSB;
|
flags &= ~(unsigned long)ASN1_STRFLGS_ESC_MSB;
|
||||||
|
|
||||||
bio = BIO_new(BIO_s_mem());
|
bio = BIO_new(BIO_s_mem());
|
||||||
if (!bio)
|
if (!bio)
|
||||||
|
Reference in New Issue
Block a user