aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-11-15 14:33:05 +0100
committerTobias Brunner <tobias@strongswan.org>2017-11-15 14:33:05 +0100
commitbe79839ea7f25c33bb89a605282d52a65605bb5e (patch)
tree92c06a0e63694640557fd661de2b8d04c0131021
parent7f1d944bc94d8eb668f53cd7b80896b01bbb72d0 (diff)
downloadstrongswan-be79839ea7f25c33bb89a605282d52a65605bb5e.tar.bz2
strongswan-be79839ea7f25c33bb89a605282d52a65605bb5e.tar.xz
pkcs8: Add explicit comment for RSASSA-PSS fall-through
-rw-r--r--src/libstrongswan/plugins/pkcs8/pkcs8_builder.c1
1 files changed, 1 insertions, 0 deletions
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;