change behavior when OPTIONAL field keyIdentifier is not present. Not erring out.
This commit is contained in:
parent
628e7b4d72
commit
6e5f800555
@ -3486,8 +3486,8 @@ static int DecodeAuthKeyId(byte* input, int sz, DecodedCert* cert)
|
||||
}
|
||||
|
||||
if (input[idx++] != (ASN_CONTEXT_SPECIFIC | 0)) {
|
||||
CYASSL_MSG("\tfail: wanted OPTIONAL item 0, not available\n");
|
||||
return ASN_PARSE_E;
|
||||
CYASSL_MSG("\tinfo: OPTIONAL item 0, not available\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (GetLength(input, &idx, &length, sz) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user