Change values of MBSTRING_* to the form MBSTRING_FLAG|nbyte as assumed

in ASN1_STRING_to_UTF8().
This commit is contained in:
Dr. Stephen Henson 2004-09-13 22:33:56 +00:00
parent 6f9bafafa3
commit bd9327baa9

View File

@ -152,10 +152,10 @@ extern "C" {
/* For use with ASN1_mbstring_copy() */
#define MBSTRING_FLAG 0x1000
#define MBSTRING_UTF8 (MBSTRING_FLAG)
#define MBSTRING_ASC (MBSTRING_FLAG|1)
#define MBSTRING_BMP (MBSTRING_FLAG|2)
#define MBSTRING_UNIV (MBSTRING_FLAG|3)
#define MBSTRING_UTF8 (MBSTRING_FLAG|4)
#define MBSTRING_UNIV (MBSTRING_FLAG|4)
struct X509_algor_st;