Support MBSTRING_ASC for cert encoding

This commit is contained in:
Anthony Hu
2023-08-18 17:50:25 -04:00
parent 65217cbc70
commit 7669f966f3

View File

@@ -10722,6 +10722,7 @@ int wolfSSL_i2d_X509_NAME(WOLFSSL_X509_NAME* name, unsigned char** out)
case MBSTRING_UTF8: case MBSTRING_UTF8:
type = CTC_UTF8; type = CTC_UTF8;
break; break;
case MBSTRING_ASC:
case V_ASN1_PRINTABLESTRING: case V_ASN1_PRINTABLESTRING:
type = CTC_PRINTABLE; type = CTC_PRINTABLE;
break; break;