aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/x509asn1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/x509asn1.c b/lib/x509asn1.c
index c3ddc3834..e18218d3d 100644
--- a/lib/x509asn1.c
+++ b/lib/x509asn1.c
@@ -297,8 +297,10 @@ utf8asn1str(char * * to, int type, const char * from, const char * end)
case 4:
wc = (wc << 8) | *(const unsigned char *) from++;
wc = (wc << 8) | *(const unsigned char *) from++;
+ /* fallthrough */
case 2:
wc = (wc << 8) | *(const unsigned char *) from++;
+ /* fallthrough */
default: /* case 1: */
wc = (wc << 8) | *(const unsigned char *) from++;
}