You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,I saw these codes and comments while reading tls.c
/*
* The maxiumum allowed length of a serial number is 20 octets
* according to RFC5290 section 4.1.2.2. We give some leeway
* for any non-conforming certificates.
*/
#define MAX_CERT_SERIAL_LENGTH 24
#define MAX_HANDSHAKE_LENGTH 11000
The comments in the section mentioned RFC 5290, but I reviewed RFC 5290 and found no relevant content.I checked the relevant information, which appeared in RFC 5280 section 4.1.2.2.
Given the uniqueness requirements above, serial numbers can be
expected to contain long integers. Certificate users MUST be able to
handle serialNumber values up to 20 octets. Conforming CAs MUST NOT
use serialNumber values longer than 20 octets.
Please check if the comments in this place are correct. Thank you.
The text was updated successfully, but these errors were encountered:
Hello,I saw these codes and comments while reading tls.c
The comments in the section mentioned RFC 5290, but I reviewed RFC 5290 and found no relevant content.I checked the relevant information, which appeared in RFC 5280 section 4.1.2.2.
Please check if the comments in this place are correct. Thank you.
The text was updated successfully, but these errors were encountered: