提交 bd9327ba 编写于 作者: D Dr. Stephen Henson

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

in ASN1_STRING_to_UTF8().
上级 6f9bafaf
...@@ -152,10 +152,10 @@ extern "C" { ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册