Actually, my question is quite general:
It looks a lot of functions in **OpenSSL1.1.1** is NOW deprecated in **OpenSSL3** .
```console
error: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘SSL_CTX_use_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_set_default’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_load_private_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_finish’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘TLSv1_2_method’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘TLSv1_1_method’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘TLSv1_method’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘ERR_load_BIO_strings’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ERR_remove_thread_state’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
```
It looks a lot of functions in **OpenSSL1.1.1** is NOW deprecated in **OpenSSL3** .
- Is there a doc to tell which function in **OpenSSL1.1.1** is NOW changed to which function in **OpenSSL3** ???
- Or any documentation that provides a very simple code snippet to compare the implementation based on **OpenSSL1.1.1** and the implementation using **OpenSSL3** .
```console
error: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘SSL_CTX_use_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_set_default’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_load_private_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_finish’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘TLSv1_2_method’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘TLSv1_1_method’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘TLSv1_method’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘ERR_load_BIO_strings’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
error: ‘ERR_remove_thread_state’ is deprecated: Since OpenSSL 1.1.0 [-Werror=deprecated-declarations]
error: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
```
Pei JIA, Ph.D.
Email: jp4work@xxxxxxxxx
cell in Canada: +1 778-863-5816
cell in China: +86 186-8244-3503
http://www.visionopen.com