[openssl/openssl] c6d14b: Added `CERTIFICATE_VERIFY_MAX_LENGTH` constant

VeronikaNguyen noreply at github.com
Tue Mar 21 11:47:24 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c6d14bfd5f16a103181c04614492be03e137d1a4
      https://github.com/openssl/openssl/commit/c6d14bfd5f16a103181c04614492be03e137d1a4
  Author: VeronikaNguyen <veronika.maithi.nguyen at gmail.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M ssl/statem/statem_clnt.c
    M ssl/statem/statem_local.h
    M ssl/statem/statem_srvr.c

  Log Message:
  -----------
  Added `CERTIFICATE_VERIFY_MAX_LENGTH` constant

- Set `CERTIFICATE_VERIFY_MAX_LENGTH` to 65539
  (2 bytes for the algorithm identifier + 2 bytes of signature length
   + 65535 bytes of signature)
- Changed `SSL3_RT_MAX_PLAIN_LENGTH` to `CERTIFICATE_VERIFY_MAX_LENGTH`
  in `statem_srvr.c` and `statem_clnt.c`

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20486)




More information about the openssl-commits mailing list