Change values of MBSTRING_* to the form MBSTRING_FLAG|nbyte as assumed
in ASN1_STRING_to_UTF8().
This commit is contained in:
parent
6f9bafafa3
commit
bd9327baa9
@ -152,10 +152,10 @@ extern "C" {
|
|||||||
|
|
||||||
/* For use with ASN1_mbstring_copy() */
|
/* For use with ASN1_mbstring_copy() */
|
||||||
#define MBSTRING_FLAG 0x1000
|
#define MBSTRING_FLAG 0x1000
|
||||||
|
#define MBSTRING_UTF8 (MBSTRING_FLAG)
|
||||||
#define MBSTRING_ASC (MBSTRING_FLAG|1)
|
#define MBSTRING_ASC (MBSTRING_FLAG|1)
|
||||||
#define MBSTRING_BMP (MBSTRING_FLAG|2)
|
#define MBSTRING_BMP (MBSTRING_FLAG|2)
|
||||||
#define MBSTRING_UNIV (MBSTRING_FLAG|3)
|
#define MBSTRING_UNIV (MBSTRING_FLAG|4)
|
||||||
#define MBSTRING_UTF8 (MBSTRING_FLAG|4)
|
|
||||||
|
|
||||||
struct X509_algor_st;
|
struct X509_algor_st;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user