Skip to content

CBL-7011: Cannot access the kCBLCertAttrKeyLocality value from the ce… #2285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025

Conversation

jianminzhao
Copy link
Contributor

…rtificate's attributes

In LiteCore, the corresponding constant is kC4Cert_Locality.

The component, "locality", of the subject name of the certificate works when it's used to create the certificate. When query the component of a certificate, it's shown as "L". The pleasant fact is that the abbreviated name, "L", also works to create the certificate.

We change it to "L" from "locality".

Also fixed an uninitialized error complained by Xcode analyzer.

…rtificate's attributes

In LiteCore, the corresponding constant is kC4Cert_Locality.

The component, "locality", of the subject name of the certificate works when it's used to create the certificate. When query the component of a certificate, it's shown as "L". The pleasant fact is that the abbreviated name, "L", also works to create the certificate.

We change it to "L" from "locality".

Also fixed an uninitialized error complained by Xcode analyzer.
@cbl-bot
Copy link

cbl-bot commented May 27, 2025

Code Coverage Results:

Type Percentage
branches 67.74
functions 79.25
instantiations 35.11
lines 79.26
regions 75.04

@jianminzhao jianminzhao requested a review from pasin May 27, 2025 22:47
@jianminzhao jianminzhao merged commit 64d62a7 into release/3.2 May 27, 2025
9 checks passed
@jianminzhao jianminzhao deleted the cbl-7011 branch May 27, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants