Change values of MBSTRING_* to the form MBSTRING_FLAG|nbyte as assumed
authorDr. Stephen Henson <steve@openssl.org>
Mon, 13 Sep 2004 22:33:56 +0000 (22:33 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 13 Sep 2004 22:33:56 +0000 (22:33 +0000)
in ASN1_STRING_to_UTF8().

crypto/asn1/asn1.h

index f7bb935e073a45dad22497dad6255689d278e398..0df0f476210d216e12b299b45df1252d4e87589a 100644 (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;