Skip to content

Address further IP address support feedback#24

Closed
ereslibre wants to merge 2 commits intorustls:mainfrom
ereslibre:ip-address-support-feedback
Closed

Address further IP address support feedback#24
ereslibre wants to merge 2 commits intorustls:mainfrom
ereslibre:ip-address-support-feedback

Conversation

@ereslibre
Copy link
Contributor

  • Rename name to subject_name
  • Remove EndEntityCert::verify_is_valid_for_dns_name

Addresses further feedback provided in #5

Use `EndEntityCert::verify_is_valid_for_subject_name` that accepts a
`SubjectNameRef` as the subject name to match the certificate against.
@ereslibre ereslibre mentioned this pull request Jan 6, 2023
3 tasks
@ereslibre ereslibre force-pushed the ip-address-support-feedback branch 2 times, most recently from 9eff60d to d7c9629 Compare January 6, 2023 15:29
@ereslibre ereslibre force-pushed the ip-address-support-feedback branch 2 times, most recently from 59c46b8 to 8afa5cc Compare January 6, 2023 17:06

mod verify;
pub(super) use verify::{check_name_constraints, verify_cert_dns_name, verify_cert_subject_name};
pub use verify::{check_name_constraints, verify_cert_subject_name};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then this change doesn't make much sense? We don't want to make these free functions part of the public API, right, so they should have limited visibility? (Hopefully we can merge #22 soon.) If pub(super) is not enough they should probably become pub(crate).

Copy link
Contributor Author

@ereslibre ereslibre Jan 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, updated. pub(super) did fit the bill.

@ereslibre ereslibre force-pushed the ip-address-support-feedback branch from 8afa5cc to 18f86ff Compare January 6, 2023 20:43
@ctz
Copy link
Member

ctz commented Jan 9, 2023

Merged with a fixup (e69b9df)

@ctz ctz closed this Jan 9, 2023
@ereslibre ereslibre deleted the ip-address-support-feedback branch January 9, 2023 13:18
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