.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* Decoder for ASN.1 BER/DER/CER encoded bytestream |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
---|
4 | 5 | * Written by David Howells (dhowells@redhat.com) |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or |
---|
7 | | - * modify it under the terms of the GNU General Public Licence |
---|
8 | | - * as published by the Free Software Foundation; either version |
---|
9 | | - * 2 of the Licence, or (at your option) any later version. |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #include <linux/export.h> |
---|
.. | .. |
---|
385 | 381 | case ASN1_OP_END_SET_ACT: |
---|
386 | 382 | if (unlikely(!(flags & FLAG_MATCHED))) |
---|
387 | 383 | goto tag_mismatch; |
---|
| 384 | + /* fall through */ |
---|
| 385 | + |
---|
388 | 386 | case ASN1_OP_END_SEQ: |
---|
389 | 387 | case ASN1_OP_END_SET_OF: |
---|
390 | 388 | case ASN1_OP_END_SEQ_OF: |
---|
.. | .. |
---|
450 | 448 | pc += asn1_op_lengths[op]; |
---|
451 | 449 | goto next_op; |
---|
452 | 450 | } |
---|
| 451 | + /* fall through */ |
---|
| 452 | + |
---|
453 | 453 | case ASN1_OP_ACT: |
---|
454 | 454 | ret = actions[machine[pc + 1]](context, hdr, tag, data + tdp, len); |
---|
455 | 455 | if (ret < 0) |
---|