Re: [PATCH 0/2] X.509: Accept a certificate with an empty subject

From: Herbert Xu

Date: Fri Nov 20 2026 - 04:56:21 EST


On Wed, Nov 11, 2026 at 11:42:44PM -0800, Laveesh Bansal wrote:
> Patch 1 fixes loading a certificate with an empty Subject, which iwd
> hits with an eduroam server certificate [1]. Patch 2 adds a KUnit test
> for it.
>
> I developed this series using an LLM coding assistant.
>
> [1] https://lore.kernel.org/r/9b05b89cf296b8a6392bbe6327228c1bc2f05c49.camel@xxxxxxxxxxxxx
>
>
> Laveesh Bansal (2):
> X.509: Accept a certificate with an empty subject
> X.509: Add KUnit tests for the certificate parser
>
> crypto/asymmetric_keys/Kconfig | 11 ++
> crypto/asymmetric_keys/Makefile | 1 +
> crypto/asymmetric_keys/x509.asn1 | 8 +-
> crypto/asymmetric_keys/x509_parser_test.c | 160 ++++++++++++++++++++++
> 4 files changed, 179 insertions(+), 1 deletion(-)
> create mode 100644 crypto/asymmetric_keys/x509_parser_test.c
>
> --
> 2.54.0

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt