diff --git a/ctaocrypt/src/asn.c b/ctaocrypt/src/asn.c index de4328df3..be76fc14b 100644 --- a/ctaocrypt/src/asn.c +++ b/ctaocrypt/src/asn.c @@ -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) {