mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Subject raw should be populated with WOLFSSL_CERT_EXT
.
This commit is contained in:
@@ -10876,7 +10876,7 @@ static int GetCertName(DecodedCert* cert, char* full, byte* hash, int nameType,
|
|||||||
cert->issuerRawLen = length;
|
cert->issuerRawLen = length;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef IGNORE_NAME_CONSTRAINTS
|
#if !defined(IGNORE_NAME_CONSTRAINTS) || defined(WOLFSSL_CERT_EXT)
|
||||||
if (nameType == SUBJECT) {
|
if (nameType == SUBJECT) {
|
||||||
cert->subjectRaw = &input[srcIdx];
|
cert->subjectRaw = &input[srcIdx];
|
||||||
cert->subjectRawLen = length;
|
cert->subjectRawLen = length;
|
||||||
@@ -11417,7 +11417,7 @@ static int GetCertName(DecodedCert* cert, char* full, byte* hash, int nameType,
|
|||||||
cert->issuerRawLen = len;
|
cert->issuerRawLen = len;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef IGNORE_NAME_CONSTRAINTS
|
#if !defined(IGNORE_NAME_CONSTRAINTS) || defined(WOLFSSL_CERT_EXT)
|
||||||
/* Store pointer and length to raw subject. */
|
/* Store pointer and length to raw subject. */
|
||||||
if (nameType == SUBJECT) {
|
if (nameType == SUBJECT) {
|
||||||
cert->subjectRaw = &input[srcIdx];
|
cert->subjectRaw = &input[srcIdx];
|
||||||
|
Reference in New Issue
Block a user