Skip to content

Commit 21f9f3d

Browse files
zhangyuanniemeta-codesync[bot]
authored andcommitted
rename SecurityProtocolInfo to SecurityInfo
Summary: Rename to better align with usage. Reviewed By: anirudhvr Differential Revision: D83783393 fbshipit-source-id: ccb5392bc616739ae9d72498205544cda570c6a5
1 parent c16932b commit 21f9f3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

third-party/wangle/src/wangle/acceptor/TransportInfo.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ struct ProtocolInfo {
4949
};
5050

5151
/**
52-
* A struct that can store additional information specific to the security
53-
* protocol being used (TLS, other encryption, etc.).
52+
* A struct that can store additional information for security
53+
* (e.g. additional fingerprints and signals)
5454
*/
55-
struct SecurityProtocolInfo {
56-
virtual ~SecurityProtocolInfo() = default;
55+
struct SecurityInfo {
56+
virtual ~SecurityInfo() = default;
5757
};
5858

5959
struct TransportInfo {
@@ -296,7 +296,7 @@ struct TransportInfo {
296296
/*
297297
* Additional security protocol information, not guaranteed to be present
298298
*/
299-
std::shared_ptr<SecurityProtocolInfo> securityProtocolInfo{nullptr};
299+
std::shared_ptr<SecurityInfo> securityInfo{nullptr};
300300

301301
/*
302302
* time used to get a usable connection.

0 commit comments

Comments
 (0)