pkcs8: Add explicit comment for RSASSA-PSS fall-through
authorTobias Brunner <tobias@strongswan.org>
Wed, 15 Nov 2017 13:33:05 +0000 (14:33 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 15 Nov 2017 13:33:05 +0000 (14:33 +0100)
src/libstrongswan/plugins/pkcs8/pkcs8_builder.c

index 9c1c03d..6cd5da4 100644 (file)
@@ -73,6 +73,7 @@ static private_key_t *parse_private_key(chunk_t blob)
                                                 * indicate RSA/PSS, but they are optional so that won't
                                                 * work for keys without specific restrictions) */
                                                params = chunk_empty;
+                                               /* fall-through */
                                        case OID_RSA_ENCRYPTION:
                                                type = KEY_RSA;
                                                break;