aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/req.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-10-30 17:54:44 +0100
committerTobias Brunner <tobias@strongswan.org>2017-11-08 16:48:10 +0100
commit27a79326c750b6f2548d1993298746f10a1b1b2b (patch)
treefd6e0724870a444c011ae0979e191ec6ff584559 /src/pki/commands/req.c
parentd57af8dde09960ae4ae10e7b487d58638da21c93 (diff)
downloadstrongswan-27a79326c750b6f2548d1993298746f10a1b1b2b.tar.bz2
strongswan-27a79326c750b6f2548d1993298746f10a1b1b2b.tar.xz
pki: Enable PSS padding if enabled in strongswan.conf
Diffstat (limited to 'src/pki/commands/req.c')
-rw-r--r--src/pki/commands/req.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pki/commands/req.c b/src/pki/commands/req.c
index 4a63091c8..cfddbc455 100644
--- a/src/pki/commands/req.c
+++ b/src/pki/commands/req.c
@@ -39,7 +39,8 @@ static int req()
chunk_t encoding = chunk_empty;
chunk_t challenge_password = chunk_empty;
char *arg;
- bool pss = FALSE;
+ bool pss = lib->settings->get_bool(lib->settings, "%s.rsa_pss", FALSE,
+ lib->ns);
san = linked_list_create();