mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 00:02:19 +01:00
move pathLegthSet assignment
This commit is contained in:
@@ -20844,9 +20844,9 @@ static int DecodeBasicCaConstraintInternal(const byte* input, int sz,
|
||||
return ret;
|
||||
|
||||
cert->isCA = isCa ? 1 : 0;
|
||||
cert->pathLengthSet = pathLengthSet ? 1 : 0;
|
||||
if (pathLengthSet) {
|
||||
cert->pathLength = pathLength;
|
||||
cert->pathLengthSet = pathLengthSet ? 1 : 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user