diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-10-30 17:54:44 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-11-08 16:48:10 +0100 |
commit | 27a79326c750b6f2548d1993298746f10a1b1b2b (patch) | |
tree | fd6e0724870a444c011ae0979e191ec6ff584559 /src/pki/commands/issue.c | |
parent | d57af8dde09960ae4ae10e7b487d58638da21c93 (diff) | |
download | strongswan-27a79326c750b6f2548d1993298746f10a1b1b2b.tar.bz2 strongswan-27a79326c750b6f2548d1993298746f10a1b1b2b.tar.xz |
pki: Enable PSS padding if enabled in strongswan.conf
Diffstat (limited to 'src/pki/commands/issue.c')
-rw-r--r-- | src/pki/commands/issue.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pki/commands/issue.c b/src/pki/commands/issue.c index ab6e97b83..1ccbca89f 100644 --- a/src/pki/commands/issue.c +++ b/src/pki/commands/issue.c @@ -67,7 +67,7 @@ static int issue() public_key_t *public = NULL; credential_type_t type = CRED_PUBLIC_KEY; key_type_t subtype = KEY_ANY; - bool pkcs10 = FALSE, pss = FALSE; + bool pkcs10 = FALSE; char *file = NULL, *dn = NULL, *hex = NULL, *cacert = NULL, *cakey = NULL; char *error = NULL, *keyid = NULL; identification_t *id = NULL; @@ -85,6 +85,8 @@ static int issue() x509_cert_policy_t *policy = NULL; traffic_selector_t *ts; char *arg; + bool pss = lib->settings->get_bool(lib->settings, "%s.rsa_pss", FALSE, + lib->ns); san = linked_list_create(); cdps = linked_list_create(); |