Skip to content

Commit

Permalink
Merge pull request #18287 from oleiman/tls-metrics/cert-info-byte-vec
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiman committed May 14, 2024
2 parents fabba81 + ba62518 commit 0b57d87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v/net/probes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <ostream>
#include <span>
#include <string>
#include <vector>

namespace net {
void server_probe::setup_metrics(
Expand Down Expand Up @@ -292,7 +293,7 @@ void tls_certificate_probe::loaded(
return;
}

auto to_tls_serial = [](const auto& b) {
auto to_tls_serial = [](const std::vector<std::byte>& b) {
using T = tls_serial_number::type;
T result = 0;
const auto end = std::min(b.size(), sizeof(T));
Expand Down

0 comments on commit 0b57d87

Please sign in to comment.