summaryrefslogtreecommitdiff
path: root/lib/x509asn1.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-21 16:29:58 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-21 16:29:58 +0100
commit9cd4d6518f2086f00e75d6fd8e37d93d9d8ea47d (patch)
tree2d22aade5e5fc5665cc242212d928082ef626e5d /lib/x509asn1.c
parente6917d3b77af3f6286bda28cdf271bc37c00ff8e (diff)
downloadgnurl-9cd4d6518f2086f00e75d6fd8e37d93d9d8ea47d.tar.gz
gnurl-9cd4d6518f2086f00e75d6fd8e37d93d9d8ea47d.tar.bz2
gnurl-9cd4d6518f2086f00e75d6fd8e37d93d9d8ea47d.zip
x509asn1: add /* fallthrough */ in switch() case
Diffstat (limited to 'lib/x509asn1.c')
-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++;
}