aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-03-25 13:27:15 +0100
committerTobias Brunner <tobias@strongswan.org>2015-03-25 13:27:15 +0100
commitc063b9cfe9594de010bf8b31a660b0140e73af33 (patch)
treecbd2ed5bfdf6289be9919d8c90af2fecd14ed9b5 /src
parent328db935bb16a17654a66bc4e8a1f3365153b23e (diff)
downloadstrongswan-c063b9cfe9594de010bf8b31a660b0140e73af33.tar.bz2
strongswan-c063b9cfe9594de010bf8b31a660b0140e73af33.tar.xz
stroke: Properly parse bliss key strength in public key constraint
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/plugins/stroke/stroke_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_config.c b/src/libcharon/plugins/stroke/stroke_config.c
index 0483ba2f5..55ec7cdc9 100644
--- a/src/libcharon/plugins/stroke/stroke_config.c
+++ b/src/libcharon/plugins/stroke/stroke_config.c
@@ -334,7 +334,7 @@ static void parse_pubkey_constraints(char *auth, auth_cfg_t *cfg)
{ "sha512", SIGN_BLISS_WITH_SHA512, KEY_BLISS, },
};
- if (rsa_len || ecdsa_len)
+ if (rsa_len || ecdsa_len || bliss_strength)
{ /* expecting a key strength token */
strength = atoi(token);
if (strength)