Skip to content
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

net/tls: Replace cert_info::bytes with vector<byte> #113

Merged
merged 1 commit into from
May 7, 2024

Conversation

oleiman
Copy link
Member

@oleiman oleiman commented May 7, 2024

char_traits is deprecated in LLVM 18, slated for removal in LLVM 19. Therefore remove this non-standard usage from cert_info.

Extracting the x509 serial number is a relatively infrequent operation and the result is always <= 20B, so the cost of using a vector here should be marginal.

char_traits<unsigned> is deprecated in LLVM 18, slated for
removal in LLVM 19. Therefore remove this non-standard usage
from cert_info.

Extracting the x509 serial number is a relatively infrequent
operation and the result is always <= 20B, so the cost of using
a vector here should be marginal.

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
@oleiman oleiman self-assigned this May 7, 2024
@oleiman oleiman marked this pull request as ready for review May 7, 2024 19:16
@oleiman oleiman merged commit f2f7501 into redpanda-data:v24.2.x May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants