From 5af2b06d477ca192f9506e9a4088f8d5a78cdf58 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Tue, 1 Aug 2006 17:15:14 -0700 Subject: [PATCH] crypt32: Support more types in CertRDNToStr. --- dlls/crypt32/str.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c index 5888aef4627..415cc4314c8 100644 --- a/dlls/crypt32/str.c +++ b/dlls/crypt32/str.c @@ -37,8 +37,14 @@ DWORD WINAPI CertRDNValueToStrA(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue, { case CERT_RDN_ANY_TYPE: break; + case CERT_RDN_NUMERIC_STRING: case CERT_RDN_PRINTABLE_STRING: + case CERT_RDN_TELETEX_STRING: + case CERT_RDN_VIDEOTEX_STRING: case CERT_RDN_IA5_STRING: + case CERT_RDN_GRAPHIC_STRING: + case CERT_RDN_VISIBLE_STRING: + case CERT_RDN_GENERAL_STRING: if (!psz || !csz) ret = pValue->cbData; else @@ -79,8 +85,14 @@ DWORD WINAPI CertRDNValueToStrW(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue, { case CERT_RDN_ANY_TYPE: break; + case CERT_RDN_NUMERIC_STRING: case CERT_RDN_PRINTABLE_STRING: + case CERT_RDN_TELETEX_STRING: + case CERT_RDN_VIDEOTEX_STRING: case CERT_RDN_IA5_STRING: + case CERT_RDN_GRAPHIC_STRING: + case CERT_RDN_VISIBLE_STRING: + case CERT_RDN_GENERAL_STRING: if (!psz || !csz) ret = pValue->cbData; else -- 2.11.4.GIT