Skip to content

[Bug]: the CSR example does not create a CSR with the intended crypto settings #567

@DrKatieL

Description

@DrKatieL

Contact Details

No response

Version

latest master

Description

In csr_example.c wc_MakeCertReq_ex is called before req.sigType is set (see lines 190 and 199 for example) req.keyType is never set. This does generate a CSR but it is created with the default type and then just signed with the algorithm requested.

Reproduction steps

Read csr_example.c

Relevant log output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions