A good starting point is to read the migration guide: https://www.openssl.org/docs/man3.0/man7/migration_guide.html Tomas Mraz, OpenSSL On Tue, 2022-06-28 at 20:48 -0700, Pei JIA wrote: > Actually, my question is quite general: > 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] > > ``` > > > > > > > > > -- Tomáš Mráz, OpenSSL