From be79839ea7f25c33bb89a605282d52a65605bb5e Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 15 Nov 2017 14:33:05 +0100 Subject: pkcs8: Add explicit comment for RSASSA-PSS fall-through --- src/libstrongswan/plugins/pkcs8/pkcs8_builder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstrongswan/plugins/pkcs8/pkcs8_builder.c b/src/libstrongswan/plugins/pkcs8/pkcs8_builder.c index 9c1c03dfe..6cd5da4fd 100644 --- a/src/libstrongswan/plugins/pkcs8/pkcs8_builder.c +++ b/src/libstrongswan/plugins/pkcs8/pkcs8_builder.c @@ -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; -- cgit v1.2.3