Skip to content

Commit

Permalink
Attempt to fix gcc errors about backslashes. Check documentation for …
Browse files Browse the repository at this point in the history
…the visuals.
  • Loading branch information
Dimi1010 committed Dec 15, 2024
1 parent f4190a4 commit 31cf265
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Packet++/header/SSLLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
/// +--------------------------+
/// | TcpLayer |
/// +--------------------------+
/// | SSLHandshakeLayer | \
/// +--------------------------+ \
/// | SSLHandshakeLayer | \\
/// +--------------------------+ \\
/// | SSLChangeCipherSpecLayer | -------- 3 SSL/TLS records in the same packet!
/// +--------------------------+ /
/// | SSLHandshakeLayer | /
Expand Down Expand Up @@ -252,7 +252,6 @@ namespace pcpp
SSLLayer(uint8_t* data, size_t dataLen, Layer* prevLayer, Packet* packet)
: Layer(data, dataLen, prevLayer, packet, SSL)
{}

}; // class SSLLayer

// The graph below will break the code formatting, so it's disabled.
Expand All @@ -272,11 +271,11 @@ namespace pcpp
/// | ssl_tls_record_layer | SSLClientHelloMessage |
/// | struct | |
/// +----------------------+-------------------------------------+
/// / | \ | \ \ \
/// / version \ | handshake \ \ \
/// / | \ | \ \ \\
/// / version \ | handshake \ \ \\
/// / TLS1_0 \ type \ \ rest of
/// type \ | SSL_CLIENT_HELLO \ \ message fields...
/// SSL_HANDSHAKE length handshake \
/// SSL_HANDSHAKE length handshake \\
/// (22) xxx | version message
/// TLS1_2 length
/// | yyy
Expand All @@ -292,7 +291,7 @@ namespace pcpp
/// | ssl_tls_record_layer | SSLServerHelloMessage | SSLCertificateMessage | SSLServerKeyExchangeMessage |
/// | struct | | | |
/// +----------------------+-------------------------------------+---------------------------+-----------------------------+
/// / | \ | \ \ | \ | \
/// / | \ | \ \ | \ | \\
/// / version \ | handshake \ rest of | | rest | | rest
/// / TLS1_0 \ type \ message handshake of fields... handshake of fields...
/// type \ | SSL_SERVER_HELLO \ fields...| type | type
Expand Down

0 comments on commit 31cf265

Please sign in to comment.