zkey-ekmfweb: Fix a potential compile error

Fix a potential compile error when symbol
EKMF_SUPPORTS_RSA_PSS_CERTIFICATES is defined. With this symbol support
for RSA-PSS can be enabled for the EKMFWeb plugin. Currently this symbol
is never defined.

Fixes: c570f51f5f ("zkey-ekmfweb: Generate certificate or CSR with identity key")
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Finn Callies <fcallies@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Ingo Franzki
2025-09-12 08:35:40 +02:00
committed by Steffen Eiden
parent e4dcf084c5
commit 458c27a0e1

View File

@@ -3292,8 +3292,9 @@ int kms_configure(const kms_handle_t handle,
opts.cert_digest,
#ifdef EKMF_SUPPORTS_RSA_PSS_CERTIFICATES
opts.cert_rsa_pss,
#endif
#else
false);
#endif
else
rc = _error_gen_csr_sscert_opts(ph, &opts);
if (rc != 0)