diff --git a/third-party/fizz/src/fizz/client/AsyncFizzClient-inl.h b/third-party/fizz/src/fizz/client/AsyncFizzClient-inl.h index ed4ee42be7f3b3..6ae4d45bb01f1a 100644 --- a/third-party/fizz/src/fizz/client/AsyncFizzClient-inl.h +++ b/third-party/fizz/src/fizz/client/AsyncFizzClient-inl.h @@ -662,8 +662,8 @@ template void AsyncFizzClientT::ActionMoveVisitor::operator()( SecretAvailable& secret) { fizz_probe_secret_available( - secret.secret.secret.size(), secret.secret.secret.data(), + secret.secret.secret.size(), KeyLogWriter::secretToNSSLabel(secret.secret.type) .value_or(std::numeric_limits::max()), client_.getClientRandom()->data()); diff --git a/third-party/fizz/src/fizz/server/AsyncFizzServer-inl.h b/third-party/fizz/src/fizz/server/AsyncFizzServer-inl.h index 5f98d5cfd256f8..62e889b0328183 100644 --- a/third-party/fizz/src/fizz/server/AsyncFizzServer-inl.h +++ b/third-party/fizz/src/fizz/server/AsyncFizzServer-inl.h @@ -381,8 +381,8 @@ template void AsyncFizzServerT::ActionMoveVisitor::operator()( SecretAvailable& secret) { fizz_probe_secret_available( - secret.secret.secret.size(), secret.secret.secret.data(), + secret.secret.secret.size(), KeyLogWriter::secretToNSSLabel(secret.secret.type) .value_or(std::numeric_limits::max()), server_.getClientRandom()->data()); diff --git a/third-party/fizz/src/fizz/util/Tracing.cpp b/third-party/fizz/src/fizz/util/Tracing.cpp index 388163614d8fb7..4e91f4a95d9b8c 100644 --- a/third-party/fizz/src/fizz/util/Tracing.cpp +++ b/third-party/fizz/src/fizz/util/Tracing.cpp @@ -12,15 +12,15 @@ namespace fizz { extern "C" { void fizz_probe_secret_available( - long unsigned int secretSize, unsigned char* secretData, + unsigned char secretSize, fizz::KeyLogWriter::Label nssLabel, unsigned char* clientRandom) { FOLLY_SDT( fizz, fizz_secret_available, - secretSize, secretData, + secretSize, nssLabel, clientRandom); } diff --git a/third-party/fizz/src/fizz/util/Tracing.h b/third-party/fizz/src/fizz/util/Tracing.h index 2275a4cde0b211..75abdc762e75a1 100644 --- a/third-party/fizz/src/fizz/util/Tracing.h +++ b/third-party/fizz/src/fizz/util/Tracing.h @@ -13,8 +13,8 @@ namespace fizz { extern "C" { void fizz_probe_secret_available( - long unsigned int secretSize, unsigned char* secretData, + unsigned char secretSize, fizz::KeyLogWriter::Label nssLabel, unsigned char* clientRandom); }