File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353
5454#ifdef USE_CERT_PINNING
5555#define CERT_ISSUER_INFO_PREFIX " US\r\n Let's Encrypt\r\n R"
56+ #define CERT_ISSUER_INFO_PREFIX2 " US\r\n Let's Encrypt\r\n YR"
5657#define CERT_ISSUER_INFO_OLD " US\r\n Let's Encrypt\r\n R3"
5758#define CERT_ISSUER_INFO_NEW " US\r\n Let's Encrypt\r\n R11"
5859#define CERT_SUBJECT_INFO " rapps.reactos.org"
@@ -63,7 +64,7 @@ IsTrustedPinnedCert(LPCSTR Subject, LPCSTR Issuer)
6364 if (strcmp (Subject, CERT_SUBJECT_INFO ))
6465 return false ;
6566#ifdef CERT_ISSUER_INFO_PREFIX
66- return Issuer == StrStrA (Issuer, CERT_ISSUER_INFO_PREFIX );
67+ return Issuer == StrStrA (Issuer, CERT_ISSUER_INFO_PREFIX ) || Issuer == StrStrA (Issuer, CERT_ISSUER_INFO_PREFIX2 ) ;
6768#else
6869 return !strcmp (Issuer, CERT_ISSUER_INFO_OLD ) || !strcmp (Issuer, CERT_ISSUER_INFO_NEW );
6970#endif
You can’t perform that action at this time.
0 commit comments