Added `CERTIFICATE_VERIFY_MAX_LENGTH` constant
authorVeronikaNguyen <veronika.maithi.nguyen@gmail.com>
Fri, 10 Mar 2023 22:13:46 +0000 (23:13 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 21 Mar 2023 11:44:08 +0000 (12:44 +0100)
commitc6d14bfd5f16a103181c04614492be03e137d1a4
tree5016c30d1ad70fba6e5ffa7527d45ebf4a887599
parentc77fb9af5595fa416637f775e51722699ea3c78b
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@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20486)
ssl/statem/statem_clnt.c
ssl/statem/statem_local.h
ssl/statem/statem_srvr.c