wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.31k stars 823 forks source link

Fix compilation error for RSA_MAX_SIZE #7920

Closed bandi13 closed 1 month ago

bandi13 commented 1 month ago

Fixes the error:

/var/lib/jenkins/workspace/wolfSSL/nightly-OSP-OpenSSH-test-v2/wolf-install-dir/include/wolfssl/openssl/rsa.h:243:38: error: ‘RSA_MAX_SIZE’ undeclared (first use in this function); did you mean ‘DH_MAX_SIZE’?
  243 | #define OPENSSL_RSA_MAX_MODULUS_BITS RSA_MAX_SIZE