wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

When comparing subject names, do not worry about case.

Open anhu opened this issue 10 months ago • 1 comments

Fixes https://github.com/wolfSSL/wolfssl/issues/7414

Testing

Added a test case.

anhu avatar Apr 12 '24 21:04 anhu

jenkins retest this please.

anhu avatar Apr 12 '24 23:04 anhu

@SparkiDev please confirm X509_NAME_cmp should use case insensitive compare. I agree with reporter that this should be case insensitive.

dgarske avatar May 15 '24 17:05 dgarske

I agree. OpenSSL converts to all ASCII to lowercase when canonicalising for comparison.

SparkiDev avatar May 15 '24 23:05 SparkiDev