aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asn1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/asn1.c b/asn1.c
index d57ec96..b1720f6 100644
--- a/asn1.c
+++ b/asn1.c
@@ -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;