diff options
author | Paul Selkirk <paul@psgd.org> | 2020-03-10 19:27:52 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2020-03-10 19:27:52 -0400 |
commit | ccf20b321cf88d2f4af53c0789c9b18cfd2386ea (patch) | |
tree | ef5e5bf00f02dbc6b670172a95c9d2baad132a1f | |
parent | 040341007cf4492fdc8aa2d3f198dd22c2288ced (diff) |
fallthrough comments to silence compiler warnings
-rw-r--r-- | asn1.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -728,6 +728,7 @@ hal_error_t hal_asn1_decode_spki(const uint8_t **alg_oid, size_t *alg_oid_len, d += hlen; if (vlen == 0) break; + /* fall through */ default: return HAL_ERROR_ASN1_PARSE_FAILED; @@ -831,6 +832,7 @@ hal_error_t hal_asn1_decode_pkcs8_privatekeyinfo(const uint8_t **alg_oid, size d += hlen; if (vlen == 0) break; + /* fall through */ default: return HAL_ERROR_ASN1_PARSE_FAILED; |