Open labviewmantc opened 1 year ago
Using a SSH terminal, such as PuTTY or OpenSSH with Windows 10+, can you connect to the cRIO and navigate to the /usr/lib
directory, i.e., cd /usr/lib
?
Then, run ls -l
from within the /usr/lib
directory? I am wondering if the permissions for the shared objects were set correctly. Also, opkg may indicate you have the packages installed, but opkg might be installing the shared objects in an unexpected location for LabVIEW 2023. I have not worked with LabVIEW 2023 yet.
You are using LabVIEW 2023 32-bit, but the cRIO-9038 is running an Intel Atom 64-bit processor. It is possible to run 32-bit LabVIEW on a 64-bit processor and previous versions of LabVIEW Real-Time and FPGA modules only worked with 32-bit LabVIEW, but maybe something with LabVIEW 2023 is different now?
Here is the result of ls -l.
lrwxrwxrwx 1 admin administrators 14 Mar 31 2020 libssh2lv.so -> libssh2lv.so.1 lrwxrwxrwx 1 admin administrators 18 Mar 31 2020 libssh2lv.so.1 -> libssh2lv.so.1.0.0 -rwxr-xr-x 1 admin administrators 67808 Mar 31 2020 libssh2lv.so.1.0.0 lrwxrwxrwx 1 admin administrators 12 Mar 31 2020 libssh2.so -> libssh2.so.1 lrwxrwxrwx 1 admin administrators 16 Mar 31 2020 libssh2.so.1 -> libssh2.so.1.0.1 -rwxr-xr-x 1 admin administrators 332728 Mar 31 2020 libssh2.so.1.0.1
I'm definitely using 32-bit LabVIEW and always have since I don't trust 64-bit yet nor had it supported all the toolkits (it's getting better)
NI support just stated there was a Kernal change in 2023...that may be the issue. I'll try LV2020SP1
You could always compile the libssh2 and libssh2lv libraries from source on your cRIO-9038 as another possibility.
The output from the ls -l /usr/lib
looks correct. Nothing else has popped into my head as a possible cause of the issue or a possible solution.
At the moment, the only difference I can see is LabVIEW 2023, so I will be curious if the Kernel change was the problem.
I tried to update the cRIO for a build environment, but I have been unsuccessful (0% success in building anything from github)...some depenecy is missing as usual. I had my cRIO online and ran the following cmds:
opkg install packagegroup-core-buildessential opkg install cmake opkg install openssl-dev
CMake Error at /usr/share/cmake-3.19/Modules/ExternalProject.cmake:2542 (message): error: could not find git for clone of openssl Call Stack (most recent call first): /usr/share/cmake-3.19/Modules/ExternalProject.cmake:3430 (_ep_add_download_command) CMakeLists.txt:61 (externalproject_add)
I give up. I'm going to figure out Telnet handshaking (Telnet is another path I can use, and the NI Internet Toolkit doesn't work with my device).
I give up.
I am sorry. Hopefully the Telnet will work for you. I do know LabVIEW 2021 introduced "native" support for some SSH and SFTP functionality. Maybe that will work for your needs?
FYI, the error for the build environment is because opkg install git
needs to be run on the cRIO. This appears to be missing from the procedure/documentation.
NI didn't implement interactive SSH, only a single command method......pretty much useless except for simple commands...totally useless for a continual interactive application.
I'll give "opgk install git".
Thanks!
I was able to get past "cmake ..", but not "cmake --build . --target ipk"
make: *** No rule to make target 'ipk'
Great to hear you were able to build the libssh2lv.so
on your cRIO.
The cmake --build . --target ipk
is from the https://github.com/fieldrndservices/libssh2lv-nilrt-ipk.git project. Did you clone the https://github.com/fieldrndservices/libssh2lv repository and run the cmake .. && cmake --build . --target ipk
from there or are you in the https://github.com/fieldrndservices/libssh2lv-nilrt-ipk.git?
You don't have to build the IPK. If the cRIO you are using to build the libssh2lv.so
file is the same, then you can:
The shared object (libssh2lv.so) will be available in the
bin
folder.
Copy the libssh2lv.so
in the bin
folder to /usr/lib
and set the appropriate permissions with the chmod
and chown
commands. Reboot the cRIO. You may also need to copy the libssh2.so
to the /usr/lib
folder as well.
Hi, I had the same issue when trying to use the library in LabVIEW 2024, I managed to get over the error 7 and 13 building the packages in the cRIO as mentioned here, but, now, when I execute the code in RT, the cRIO restarts automatically and doesn't show any errors, @volks73 told me that I might need to build the OpenSSL library as well, @volks73 where could I get the .tar.gz file?
I share the building log:
admin@NI-cRIO-9057-XXXXXXXX:~# cd /tmp admin@NI-cRIO-9057-XXXXXXXX:/tmp# tar -xzf libssh2-nilrt-ipk-0.4.tar.gz admin@NI-cRIO-9057-XXXXXXXX:/tmp# cd libssh2-nilrt-ipk-0.4 admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2-nilrt-ipk-0.4# mkdir build admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2-nilrt-ipk-0.4# cd build admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2-nilrt-ipk-0.4/build# cmake .. -- The C compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /tmp/libssh2-nilrt-ipk-0.4/build admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2-nilrt-ipk-0.4/build# cmake --build . --target ipk [100%] Building IPK file [ 11%] Creating directories for 'libssh2' [ 22%] Performing download step (verify and extract) for 'libssh2' CMake Warning at libssh2-stamp/verify-libssh2.cmake:15 (message): File will not be verified since no URL_HASH specified
-- extracting... src='//tmp/libssh2-nilrt-ipk-0.4/libssh2-1.9.0.tar.gz' dst='/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'libssh2' [ 44%] No patch step for 'libssh2' [ 55%] Performing configure step for 'libssh2' CMake Deprecation Warning at CMakeLists.txt:36 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument
-- The C compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.0.12") -- Looking for EVP_aes_128_ctr -- Looking for EVP_aes_128_ctr - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file sys/uio.h -- Looking for include file sys/uio.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/un.h -- Looking for include file sys/un.h - found -- Looking for include file windows.h -- Looking for include file windows.h - not found -- Looking for include file ws2tcpip.h -- Looking for include file ws2tcpip.h - not found -- Looking for include file winsock2.h -- Looking for include file winsock2.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of long long -- Check size of long long - done -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for memset_s -- Looking for memset_s - not found -- Looking for poll -- Looking for poll - found -- Looking for socket -- Looking for socket - found -- Looking for select -- Looking for select - found -- Looking for inet_addr -- Looking for inet_addr - found -- Performing Test HAVE_O_NONBLOCK -- Performing Test HAVE_O_NONBLOCK - Success -- The following features have been enabled:
-- The following REQUIRED packages have been found:
-- The following features have been disabled:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2-build
[ 66%] Performing build step for 'libssh2'
[ 4%] Building C object src/CMakeFiles/libssh2.dir/openssl.c.o
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_rsa_new':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:130:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
130 | rsa = RSA_new();
| ^
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:201:28: note: declared here
201 | OSSL_DEPRECATEDIN_3_0 RSA RSA_new(void);
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:132:5: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
132 | RSA_set0_key(rsa, n, e, d);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:207:27: note: declared here
207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA r, BIGNUM n, BIGNUM e, BIGNUM d);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:140:5: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
140 | RSA_set0_factors(rsa, p, q);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:208:27: note: declared here
208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA r, BIGNUM p, BIGNUM q);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:147:5: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
147 | RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:209:27: note: declared here
209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA r,
| ^~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_rsa_sha1_verify':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:167:5: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
167 | ret = RSA_verify(NID_sha1, hash, SHA_DIGEST_LENGTH,
| ^~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:351:27: note: declared here
351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char m,
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_dsa_new':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:208:5: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
208 | dsactx = DSA_new();
| ^
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:125:28: note: declared here
125 | OSSL_DEPRECATEDIN_3_0 DSA DSA_new(void);
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:211:5: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
211 | DSA_set0_pqg(dsactx, p_bn, q_bn, g_bn);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:203:27: note: declared here
203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA d, BIGNUM p, BIGNUM q, BIGNUM g);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:219:5: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
219 | DSA_set0_key(dsactx, pub_key, priv_key);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:206:27: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA d, BIGNUM pub_key,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_dsa_sha1_verify':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:252:9: warning: 'DSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
252 | ret = DSA_do_verify(hash, SHA_DIGEST_LENGTH, dsasig, dsactx);
| ^~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:115:27: note: declared here
115 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char dgst, int dgst_len,
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdsa_key_get_curve_type':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:271:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
271 | const EC_GROUP group = EC_KEY_get0_group(key);
| ^~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1034:39: note: declared here
1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP EC_KEY_get0_group(const EC_KEY key);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdsa_curve_name_with_octal_new':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:322:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
322 | EC_KEY ec_key = EC_KEY_new_by_curve_name(curve);
| ^~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:998:31: note: declared here
998 | OSSL_DEPRECATEDIN_3_0 EC_KEY EC_KEY_new_by_curve_name(int nid);
| ^~~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:326:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
326 | ec_group = EC_KEY_get0_group(ec_key);
| ^~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1034:39: note: declared here
1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP EC_KEY_get0_group(const EC_KEY key);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:329:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
329 | ret = EC_KEY_set_public_key(ec_key, point);
| ^~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1070:27: note: declared here
1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY key, const EC_POINT pub);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdsa_verify':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:379:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
379 | LIBSSH2_ECDSA_VERIFY(256);
| ^~~~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1391:27: note: declared here
1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char dgst, int dgst_len,
| ^~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:382:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
382 | LIBSSH2_ECDSA_VERIFY(384);
| ^~~~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1391:27: note: declared here
1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char dgst, int dgst_len,
| ^~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:385:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
385 | LIBSSH2_ECDSA_VERIFY(512);
| ^~~~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1391:27: note: declared here
1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char dgst, int dgst_len,
| ^~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_openssl_crypto_init':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:646:5: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
646 | ENGINE_load_builtin_engines();
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/engine.h:358:28: note: declared here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:647:5: warning: 'ENGINE_register_all_complete' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
647 | ENGINE_register_all_complete();
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/engine.h:415:27: note: declared here
415 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void);
| ^~~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_rsa_new_private_frommemory':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:764:9: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
764 | (pem_read_bio_func) &PEM_read_bio_RSAPrivateKey;
| ^
In file included from /usr/include/openssl/ui.h:30,
from /usr/include/openssl/engine.h:30,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/pem.h:447:1: note: declared here
447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_rsa':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:791:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
791 | RSA_get0_key(rsa, &n, &e, NULL);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:217:28: note: declared here
217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA r,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_rsa_evp':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:839:5: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
839 | rsa = EVP_PKEY_get1_RSA(pk);
| ^~~
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/evp.h:1350:16: note: declared here
1350 | struct rsa_st EVP_PKEY_get1_RSA(EVP_PKEY pkey);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:854:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
854 | RSA_free(rsa);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:865:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
865 | RSA_free(rsa);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_rsa_new_additional_parameters':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:888:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
888 | RSA_get0_key(rsa, NULL, NULL, &d);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:217:28: note: declared here
217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA r,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:889:5: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
889 | RSA_get0_factors(rsa, &p, &q);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:220:28: note: declared here
220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA r,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:927:5: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
927 | RSA_set0_crt_params(rsa, dmp1, dmq1, NULL);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:209:27: note: declared here
209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA r,
| ^~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_rsa_openssh_priv_data':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1024:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1024 | EVP_PKEY_set1_RSA(pk, rsa);
| ^~~~~
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/evp.h:1346:5: note: declared here
1346 | int EVP_PKEY_set1_RSA(EVP_PKEY pkey, struct rsa_st key);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1037:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1037 | RSA_free(rsa);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1044:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1044 | RSA_free(rsa);
| ^~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_rsa_new_private':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1115:9: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1115 | (pem_read_bio_func) &PEM_read_bio_RSAPrivateKey;
| ^
In file included from /usr/include/openssl/ui.h:30,
from /usr/include/openssl/engine.h:30,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/pem.h:447:1: note: declared here
447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_dsa_new_private_frommemory':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1141:9: warning: 'PEM_read_bio_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1141 | (pem_read_bio_func) &PEM_read_bio_DSAPrivateKey;
| ^
In file included from /usr/include/openssl/ui.h:30,
from /usr/include/openssl/engine.h:30,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/pem.h:453:1: note: declared here
453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_dsa':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1171:5: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1171 | DSA_get0_pqg(dsa, &p_bn, &q, &g);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:201:28: note: declared here
201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA d, const BIGNUM *p,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1179:5: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1179 | DSA_get0_key(dsa, &pub_key, NULL);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA d, const BIGNUM *pub_key,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_dsa_evp':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1230:5: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1230 | dsa = EVP_PKEY_get1_DSA(pk);
| ^~~
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/evp.h:1359:16: note: declared here
1359 | struct dsa_st EVP_PKEY_get1_DSA(EVP_PKEY pkey);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1245:5: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1245 | DSA_free(dsa);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1256:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1256 | DSA_free(dsa);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_dsa_openssh_priv_data':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1326:9: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1326 | EVP_PKEY_set1_DSA(pk, dsa);
| ^~~~~
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/evp.h:1355:5: note: declared here
1355 | int EVP_PKEY_set1_DSA(EVP_PKEY pkey, struct dsa_st key);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1339:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1339 | DSA_free(dsa);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1346:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1346 | DSA_free(dsa);
| ^~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_dsa_new_private':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1417:9: warning: 'PEM_read_bio_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1417 | (pem_read_bio_func) &PEM_read_bio_DSAPrivateKey;
| ^
In file included from /usr/include/openssl/ui.h:30,
from /usr/include/openssl/engine.h:30,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/pem.h:453:1: note: declared here
453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdsa_new_private_frommemory':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1446:9: warning: 'PEM_read_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1446 | (pem_read_bio_func) &PEM_read_bio_ECPrivateKey;
| ^
In file included from /usr/include/openssl/ui.h:30,
from /usr/include/openssl/engine.h:30,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/pem.h:462:1: note: declared here
462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_rsa_sha1_sign':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1857:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1857 | sig_len = RSA_size(rsactx);
| ^~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:204:27: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA rsa);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1864:5: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1864 | ret = RSA_sign(NID_sha1, hash, hash_len, sig, &sig_len, rsactx);
| ^~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/rsa.h:348:27: note: declared here
348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char m,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_dsa_sha1_sign':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1889:5: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1889 | sig = DSA_do_sign(hash, SHA_DIGEST_LENGTH, dsactx);
| ^~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/dsa.h:113:32: note: declared here
113 | OSSL_DEPRECATEDIN_3_0 DSA_SIG DSA_do_sign(const unsigned char dgst, int dlen,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdsa_sign':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:1937:5: warning: 'ECDSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1937 | ECDSA_SIG sig = ECDSA_do_sign(hash, hash_len, ec_ctx);
| ^~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1365:34: note: declared here
1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG ECDSA_do_sign(const unsigned char dgst,
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_ec_evp':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2246:5: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2246 | ec = EVP_PKEY_get1_EC_KEY(pk);
| ^~
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/evp.h:1376:19: note: declared here
1376 | struct ec_key_st EVP_PKEY_get1_EC_KEY(EVP_PKEY pkey);
| ^~~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2252:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2252 | public_key = EC_KEY_get0_public_key(ec);
| ^~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1062:39: note: declared here
1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT EC_KEY_get0_public_key(const EC_KEY key);
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2253:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2253 | group = EC_KEY_get0_group(ec);
| ^~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1034:39: note: declared here
1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP EC_KEY_get0_group(const EC_KEY key);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2327:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2327 | EC_KEY_free(ec);
| ^~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function 'gen_publickey_from_ecdsa_openssh_priv_data':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2398:5: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2398 | rc = (EC_KEY_set_private_key(ec_key, bn_exponent) != 1);
| ^~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1056:27: note: declared here
1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY key, const BIGNUM prv);
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2402:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2402 | EVP_PKEY_set1_EC_KEY(pk, ec_key);
| ^~~~~~~~
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/evp.h:1372:5: note: declared here
1372 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY pkey, struct ec_key_st key);
| ^~~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2415:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2415 | EC_KEY_free(ec_key);
| ^~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2422:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2422 | EC_KEY_free(ec_key);
| ^~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdsa_new_private':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2497:5: warning: 'PEM_read_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2497 | pem_read_bio_func read_ec = (pem_read_bio_func) &PEM_read_bio_ECPrivateKey;
| ^~~~~
In file included from /usr/include/openssl/ui.h:30,
from /usr/include/openssl/engine.h:30,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/pem.h:462:1: note: declared here
462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdsa_create_key':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2540:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2540 | private_key = EC_KEY_new_by_curve_name(curve_type);
| ^~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:998:31: note: declared here
998 | OSSL_DEPRECATEDIN_3_0 EC_KEY EC_KEY_new_by_curve_name(int nid);
| ^~~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2541:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2541 | group = EC_KEY_get0_group(private_key);
| ^~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1034:39: note: declared here
1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP EC_KEY_get0_group(const EC_KEY key);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2543:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2543 | EC_KEY_generate_key(private_key);
| ^~~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1101:27: note: declared here
1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY key);
| ^~~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2544:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2544 | public_key = EC_KEY_get0_public_key(private_key);
| ^~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1062:39: note: declared here
1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT EC_KEY_get0_public_key(const EC_KEY key);
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c: In function '_libssh2_ecdh_gen_k':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2611:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2611 | private_key_group = EC_KEY_get0_group(private_key);
| ^~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1034:39: note: declared here
1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP EC_KEY_get0_group(const EC_KEY key);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:2631:5: warning: 'ECDH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2631 | secret_len = ECDH_compute_key(secret, secret_len, server_public_key_point,
| ^~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.c:41:
/usr/include/openssl/ec.h:1296:27: note: declared here
1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void out, size_t outlen,
| ^~~~
[ 8%] Building C object src/CMakeFiles/libssh2.dir/agent.c.o
[ 12%] Building C object src/CMakeFiles/libssh2.dir/bcrypt_pbkdf.c.o
[ 16%] Building C object src/CMakeFiles/libssh2.dir/blowfish.c.o
[ 20%] Building C object src/CMakeFiles/libssh2.dir/channel.c.o
[ 25%] Building C object src/CMakeFiles/libssh2.dir/comp.c.o
[ 29%] Building C object src/CMakeFiles/libssh2.dir/crypt.c.o
[ 33%] Building C object src/CMakeFiles/libssh2.dir/global.c.o
[ 37%] Building C object src/CMakeFiles/libssh2.dir/hostkey.c.o
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c: In function 'hostkey_method_ssh_rsa_dtor':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c:241:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
241 | _libssh2_rsa_free(rsactx);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c:39:
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c: In function 'hostkey_method_ssh_dss_dtor':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c:466:5: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
466 | _libssh2_dsa_free(dsactx);
| ^~~~~
In file included from /usr/include/openssl/engine.h:26,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c:39:
/usr/include/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA r);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c: In function 'hostkey_method_ssh_ecdsa_dtor':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c:743:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
743 | _libssh2_ecdsa_free(keyctx);
| ^~~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/hostkey.c:39:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
[ 41%] Building C object src/CMakeFiles/libssh2.dir/keepalive.c.o
[ 45%] Building C object src/CMakeFiles/libssh2.dir/kex.c.o
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/kex.c: In function 'kex_method_ecdh_key_exchange':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/kex.c:2629:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2629 | _libssh2_ecdsa_free(key_state->private_key);
| ^~~~~~~
In file included from /usr/include/openssl/engine.h:28,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:44,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/kex.c:39:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
[ 50%] Building C object src/CMakeFiles/libssh2.dir/knownhost.c.o
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c: In function 'knownhost_check':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:423:21: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
423 | libssh2_hmac_ctx_init(ctx);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:39:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX HMAC_CTX_new(void);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:430:21: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
430 | libssh2_hmac_sha1_init(&ctx, (unsigned char )node->salt,
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:39:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX ctx, const void key, int len,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:432:21: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
432 | libssh2_hmac_update(ctx, (unsigned char )host,
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:39:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:434:21: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
434 | libssh2_hmac_final(ctx, hash);
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:39:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX ctx, unsigned char md,
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:435:21: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
435 | libssh2_hmac_cleanup(&ctx);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/knownhost.c:39:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX ctx);
| ^~~~~
[ 54%] Building C object src/CMakeFiles/libssh2.dir/mac.c.o
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c: In function 'mac_method_hmac_sha2_512_hash':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:117:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
117 | libssh2_hmac_ctx_init(ctx);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX HMAC_CTX_new(void);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:118:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
118 | libssh2_hmac_sha512_init(&ctx, abstract, 64);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX ctx, const void key, int len,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:119:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
119 | libssh2_hmac_update(ctx, seqno_buf, 4);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:120:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
120 | libssh2_hmac_update(ctx, packet, packet_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:122:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
122 | libssh2_hmac_update(ctx, addtl, addtl_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:124:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
124 | libssh2_hmac_final(ctx, buf);
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX ctx, unsigned char md,
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:125:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
125 | libssh2_hmac_cleanup(&ctx);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX ctx);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c: In function 'mac_method_hmac_sha2_256_hash':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:162:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
162 | libssh2_hmac_ctx_init(ctx);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX HMAC_CTX_new(void);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:163:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
163 | libssh2_hmac_sha256_init(&ctx, abstract, 32);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX ctx, const void key, int len,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:164:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
164 | libssh2_hmac_update(ctx, seqno_buf, 4);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:165:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
165 | libssh2_hmac_update(ctx, packet, packet_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:167:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
167 | libssh2_hmac_update(ctx, addtl, addtl_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:169:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
169 | libssh2_hmac_final(ctx, buf);
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX ctx, unsigned char md,
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:170:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
170 | libssh2_hmac_cleanup(&ctx);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX ctx);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c: In function 'mac_method_hmac_sha1_hash':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:207:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
207 | libssh2_hmac_ctx_init(ctx);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX HMAC_CTX_new(void);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:208:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
208 | libssh2_hmac_sha1_init(&ctx, abstract, 20);
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX ctx, const void key, int len,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:209:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
209 | libssh2_hmac_update(ctx, seqno_buf, 4);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:210:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
210 | libssh2_hmac_update(ctx, packet, packet_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:212:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
212 | libssh2_hmac_update(ctx, addtl, addtl_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:214:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
214 | libssh2_hmac_final(ctx, buf);
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX ctx, unsigned char md,
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:215:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
215 | libssh2_hmac_cleanup(&ctx);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX ctx);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c: In function 'mac_method_hmac_md5_hash':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:280:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
280 | libssh2_hmac_ctx_init(ctx);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX HMAC_CTX_new(void);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:281:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
281 | libssh2_hmac_md5_init(&ctx, abstract, 16);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX ctx, const void key, int len,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:282:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
282 | libssh2_hmac_update(ctx, seqno_buf, 4);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:283:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
283 | libssh2_hmac_update(ctx, packet, packet_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:285:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
285 | libssh2_hmac_update(ctx, addtl, addtl_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:287:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
287 | libssh2_hmac_final(ctx, buf);
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX ctx, unsigned char md,
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:288:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
288 | libssh2_hmac_cleanup(&ctx);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX ctx);
| ^~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c: In function 'mac_method_hmac_ripemd160_hash':
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:353:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
353 | libssh2_hmac_ctx_init(ctx);
| ^~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX HMAC_CTX_new(void);
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:354:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
354 | libssh2_hmac_ripemd160_init(&ctx, abstract, 20);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX ctx, const void key, int len,
| ^~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:355:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
355 | libssh2_hmac_update(ctx, seqno_buf, 4);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:356:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
356 | libssh2_hmac_update(ctx, packet, packet_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:358:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
358 | libssh2_hmac_update(ctx, addtl, addtl_len);
| ^~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX ctx, const unsigned char data,
| ^~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:360:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
360 | libssh2_hmac_final(ctx, buf);
| ^~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX ctx, unsigned char md,
| ^~~~~~
/tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:361:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
361 | libssh2_hmac_cleanup(&ctx);
| ^~~~~~~~
In file included from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/openssl.h:53,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/crypto.h:42,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/libssh2_priv.h:137,
from /tmp/libssh2-nilrt-ipk-0.4/build/libssh2/src/libssh2/src/mac.c:38:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~
[ 58%] Building C object src/CMakeFiles/libssh2.dir/misc.c.o
[ 62%] Building C object src/CMakeFiles/libssh2.dir/packet.c.o
[ 66%] Building C object src/CMakeFiles/libssh2.dir/pem.c.o
[ 70%] Building C object src/CMakeFiles/libssh2.dir/publickey.c.o
[ 75%] Building C object src/CMakeFiles/libssh2.dir/scp.c.o
[ 79%] Building C object src/CMakeFiles/libssh2.dir/session.c.o
[ 83%] Building C object src/CMakeFiles/libssh2.dir/sftp.c.o
[ 87%] Building C object src/CMakeFiles/libssh2.dir/transport.c.o
[ 91%] Building C object src/CMakeFiles/libssh2.dir/userauth.c.o
[ 95%] Building C object src/CMakeFiles/libssh2.dir/version.c.o
[100%] Linking C shared library libssh2.so
[100%] Built target libssh2
[ 77%] No install step for 'libssh2'
[ 88%] No test step for 'libssh2'
[100%] Completed 'libssh2'
[100%] Built target libssh2
Run CPack packaging tool...
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: libssh2-nilrt-ipk
CPack: - Install project: libssh2-nilrt-ipk []
CPack: Create package
-- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies.
CPack: - package: /tmp/libssh2-nilrt-ipk-0.4/build/libssh2_1.9.0-r0.4_core2-64.deb generated.
Built target ipk
admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2-nilrt-ipk-0.4/build# opkg install libssh2_1.9.0-r0.4_core2-64.ipk
Installing libssh2 (1.9.0-r0.4) on root
Configuring libssh2.
admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2-nilrt-ipk-0.4/build# cd
admin@NI-cRIO-9057-XXXXXXXX:~# cd /tmp
admin@NI-cRIO-9057-XXXXXXXX:/tmp# tar -xzf libssh2lv-nilrt-ipk-0.5.tar.gz
admin@NI-cRIO-9057-XXXXXXXX:/tmp# cd libssh2lv-nilrt-ipk-0.5
admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2lv-nilrt-ipk-0.5# mkdir build
admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2lv-nilrt-ipk-0.5# cd build
admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2lv-nilrt-ipk-0.5/build# cmake ..
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/libssh2lv-nilrt-ipk-0.5/build
admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2lv-nilrt-ipk-0.5/build# cmake --build . --target ipk
[100%] Building IPK file
[ 11%] Creating directories for 'libssh2lv'
[ 22%] Performing download step (verify and extract) for 'libssh2lv'
CMake Warning at libssh2lv-stamp/verify-libssh2lv.cmake:15 (message):
File will not be verified since no URL_HASH specified
-- extracting... src='//tmp/libssh2lv-nilrt-ipk-0.5/libssh2lv-0.2.1.tar.gz' dst='/tmp/libssh2lv-nilrt-ipk-0.5/build/libssh2lv/src/libssh2lv' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'libssh2lv' [ 44%] No patch step for 'libssh2lv' [ 55%] Performing configure step for 'libssh2lv' -- The C compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /tmp/libssh2lv-nilrt-ipk-0.5/build/libssh2lv/src/libssh2lv-build [ 66%] Performing build step for 'libssh2lv' [ 0%] Built target libssh2 [ 7%] Building C object src/CMakeFiles/shared.dir/lv-libssh2.c.o [ 14%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-agent.c.o [ 21%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-agent-identity.c.o [ 28%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-channel.c.o [ 35%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-fileinfo.c.o [ 42%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-knownhost.c.o [ 50%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-knownhosts.c.o [ 57%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-scp.c.o [ 64%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-session.c.o [ 71%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-sftp.c.o [ 78%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-sftp-attributes.c.o [ 85%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-status.c.o [ 92%] Building C object src/CMakeFiles/shared.dir/lv-libssh2-userauth.c.o [100%] Linking C shared library ../bin/libssh2lv.so [100%] Built target shared [ 77%] No install step for 'libssh2lv' [ 88%] No test step for 'libssh2lv' [100%] Completed 'libssh2lv' [100%] Built target libssh2lv Run CPack packaging tool... CPack: Create package using DEB CPack: Install projects CPack: - Run preinstall target for: libssh2lv-nilrt-ipk CPack: - Install project: libssh2lv-nilrt-ipk [] CPack: Create package CPack: - package: /tmp/libssh2lv-nilrt-ipk-0.5/build/libssh2lv_0.2.1-r0.5_core2-64.deb generated. Built target ipk admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2lv-nilrt-ipk-0.5/build# opkg install libssh2lv_0.2.1-r0.5_core2-64.ipk Installing libssh2lv (0.2.1-r0.5) on root Configuring libssh2lv. admin@NI-cRIO-9057-XXXXXXXX:/tmp/libssh2lv-nilrt-ipk-0.5/build#
After building new IPK binaries, we have overcome this issue and faced error code 11 (Key exchange error) on connect.vi Please refer to issue 65 https://github.com/fieldrndservices/libssh2-labview/issues/65 Error -8111 occurred at Field_RnD_Services_LIBSSH2_Toolkit.lvlib:Session.lvclass:Connect.vi
Possible reason(s):
[Key Exchange Failure Error]
If the client is executed from Windows target there is no issues. Only from RT Linux target the error occurs. we are getting libssh2lv 0.2.3 and libssh2 1.10.0 using the release 1.2.4.32 where as it is mentioned like libssh2 0.2.3 is bump to 0.2.4 , can you please check latest change for libssh2 0.2.4 and libshh2 1.11.0 uploaded in git repo. RT Linux which I'm having is using OpenSSH 8.9.
See my comment: https://github.com/fieldrndservices/libssh2-labview/issues/65#issuecomment-2041524258.
The libssh2lv build will download and use its own OpenSSL and LIBSSH2 if you build it from source. Thus, if you have an Internet connected NI Linux RT device, it will download a specific version of these dependencies, build them and use these as opposed to the system OpenSSL or LIBSSH2 shared libraries. This might be the source of issues for some users as LabVIEW 2023 or newer probably uses a newer version of OpenSSL and it may even provide LIBSSH2 as a system library, too. The system libraries might be different versions.
If bumping the dependencies versions work, then creating a Pull Request (PR) for the libssh2lv project with the newer versions would be greatly appreciated.
I see error 7 (file not found) and error 13 (failed to load dynamic library).
I followed the instructions to download and install the 2 support files...I have a cRIO-9038 (x86) so the files are libssh2lv_0.2.1-r0.5_core2-64.ipk and libssh2_1.9.0-r0.4_core2-64.ipk, transferred to the cRIO, and installed them (opkg instal).
opkg list shows the 2 packages are installed: libssh2 - 1.9.0-r0.4-r0.4 - Client-side C library implementing the SSH2 protocol libssh2lv - 0.2.1-r0.5-r0.5 - LabVIEW-friendly C library for the libssh2
I had the same issue with a virtual machine so I tried with a real cRIO (9038)...eexactly the same issue.
I'm using 32-bit LabVIEW 2023 Q3
I must be doing something wrong since others are using this in their LabVIEW application, but I don't know what it is.