Skip to content

Commit

Permalink
Add missing config guards in comment
Browse files Browse the repository at this point in the history
Signed-off-by: David Horstmann <david.horstmann@arm.com>
  • Loading branch information
davidhorstmann-arm committed Mar 5, 2024
1 parent f5a6fa2 commit fc8cacf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/ssl_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -5296,13 +5296,15 @@ static const unsigned char ssl_serialized_session_header[] = {
* opaque session_id[32];
* opaque master[48]; // fixed length in the standard
* uint32 verify_result;
* #if defined(MBEDTLS_X509_CRT_PARSE_C)
* #if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
* opaque peer_cert<0..2^24-1>; // length 0 means no peer cert
* #else
* uint8 peer_cert_digest_type;
* opaque peer_cert_digest<0..2^8-1>
* #endif
* #if defined(MBEDTLS_SSL_SESSION_TICKETS)
* #endif
* #if defined(MBEDTLS_SSL_SESSION_TICKETS) && defined(MBEDTLS_SSL_CLI_C)
* opaque ticket<0..2^24-1>; // length 0 means no ticket
* uint32 ticket_lifetime;
* #endif
Expand Down

0 comments on commit fc8cacf

Please sign in to comment.