Open jonnynux opened 2 years ago
sudo -i
[sudo] password for jonny:
root@jonny-meade:~# cd /usr/local/src/
root@jonny-meade:/usr/local/src# ll
total 668
drwxr-xr-x 3 root root 4096 gen 25 15:27 ./
drwxr-xr-x 10 root root 4096 ago 19 2021 ../
drwxr-xr-x 7 1001 1001 4096 gen 25 15:32 ike/
-rw-r--r-- 1 root root 670872 gen 25 15:26 ike-2.2.1-release.tbz2
root@jonny-meade:/usr/local/src# cd ike/
root@jonny-meade:/usr/local/src/ike# rmdir ike
rmdir: failed to remove 'ike': No such file or directory
root@jonny-meade:/usr/local/src/ike# cd ..
root@jonny-meade:/usr/local/src# rm -r ike
root@jonny-meade:/usr/local/src# ll
total 664
drwxr-xr-x 2 root root 4096 mag 5 12:02 ./
drwxr-xr-x 10 root root 4096 ago 19 2021 ../
-rw-r--r-- 1 root root 670872 gen 25 15:26 ike-2.2.1-release.tbz2
root@jonny-meade:/usr/local/src# tar xjf ike-2.2.1-release.tbz2
root@jonny-meade:/usr/local/src# apt install dos2unix wget
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget is already the newest version (1.21.2-2ubuntu1).
dos2unix is already the newest version (7.4.2-2).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
root@jonny-meade:/usr/local/src# find ike/ -type f | xargs -r dos2unix
dos2unix: converting file ike/TODO.TXT to Unix format...
dos2unix: converting file ike/CMakeLists.txt to Unix format...
dos2unix: converting file ike/script/linux/iked to Unix format...
dos2unix: converting file ike/script/macosx/net.shrew.iked.plist to Unix format...
dos2unix: converting file ike/docs/rfc2407.txt to Unix format...
dos2unix: converting file ike/docs/rfc3948.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-08.txt to Unix format...
dos2unix: converting file ike/docs/rfc3706.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-01.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-isakmp-xauth-06.txt to Unix format...
dos2unix: converting file ike/docs/rfc1035.txt to Unix format...
dos2unix: converting file ike/docs/rfc2406.txt to Unix format...
dos2unix: converting file ike/docs/rfc2104.txt to Unix format...
dos2unix: converting file ike/docs/rfc3715.txt to Unix format...
dos2unix: converting file ike/docs/rfc2411.txt to Unix format...
dos2unix: converting file ike/docs/rfc2395.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-isakmp-mode-cfg-02.txt to Unix format...
dos2unix: converting file ike/docs/rfc2402.txt to Unix format...
dos2unix: converting file ike/docs/rfc2132.txt to Unix format...
dos2unix: converting file ike/docs/rfc2393.txt to Unix format...
dos2unix: converting file ike/docs/rfc1826.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-04.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-isakmp-mode-cfg-01.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-00.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-isakmp-mode-cfg-03.txt to Unix format...
dos2unix: converting file ike/docs/rfc2367.txt to Unix format...
dos2unix: converting file ike/docs/rfc3456.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-04.txt to Unix format...
dos2unix: converting file ike/docs/rfc2409.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-isakmp-hybrid-auth-05.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-07.txt to Unix format...
dos2unix: converting file ike/docs/rfc2394.txt to Unix format...
dos2unix: converting file ike/docs/draft-schilcher-mobike-pfkey-extension-01.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-isakmp-mode-cfg-05.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-01.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-08.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-07.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-02.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-03.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-06.txt to Unix format...
dos2unix: converting file ike/docs/rfc2401.txt to Unix format...
dos2unix: converting file ike/docs/rfc3526.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-03.txt to Unix format...
dos2unix: converting file ike/docs/rfc2412.txt to Unix format...
dos2unix: converting file ike/docs/rfc2131.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-02.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-05.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-00.txt to Unix format...
dos2unix: converting file ike/docs/rfc3947.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-udp-encaps-09.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-isakmp-mode-cfg-04.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-06.txt to Unix format...
dos2unix: converting file ike/docs/draft-ietf-ipsec-nat-t-ike-05.txt to Unix format...
dos2unix: converting file ike/docs/rfc2408.txt to Unix format...
dos2unix: converting file ike/LICENSE.TXT to Unix format...
dos2unix: converting file ike/README.TXT to Unix format...
dos2unix: converting file ike/CONTRIB.TXT to Unix format...
dos2unix: Binary symbol 0x00 found at line 1
dos2unix: Skipping binary file ike/package/macosx/vpn-client-install.icns
dos2unix: converting file ike/package/macosx/vpn-client-install.packproj to Unix format...
dos2unix: converting file ike/package/macosx/build-package.sh to Unix format...
dos2unix: converting file ike/package/macosx/script.uninstall to Unix format...
dos2unix: Binary symbol 0x00 found at line 1
dos2unix: Skipping binary file ike/package/macosx/vpn-client-volume.icns
dos2unix: converting file ike/package/macosx/script.postinstall to Unix format...
dos2unix: converting file ike/source/libip/libip.packet.dns.cpp to Unix format...
dos2unix: converting file ike/source/libip/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/libip/libip.packet.cpp to Unix format...
dos2unix: converting file ike/source/libip/libip.queue.cpp to Unix format...
dos2unix: converting file ike/source/libip/libip.route.cpp to Unix format...
dos2unix: converting file ike/source/libip/libip.frag.cpp to Unix format...
dos2unix: converting file ike/source/libip/libip.pcap.cpp to Unix format...
dos2unix: converting file ike/source/libip/libip.packet.udp.cpp to Unix format...
dos2unix: converting file ike/source/libip/libip.packet.ip.cpp to Unix format...
dos2unix: converting file ike/source/libip/libip.h to Unix format...
dos2unix: converting file ike/source/export.h to Unix format...
dos2unix: converting file ike/source/qikea/qikea.cpp to Unix format...
dos2unix: converting file ike/source/qikea/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/qikea/conflict.ui to Unix format...
dos2unix: converting file ike/source/qikea/qikea.qrc to Unix format...
dos2unix: converting file ike/source/qikea/main.cpp to Unix format...
dos2unix: converting file ike/source/qikea/topology.cpp to Unix format...
dos2unix: converting file ike/source/qikea/qikea.pro to Unix format...
dos2unix: converting file ike/source/qikea/root.cpp to Unix format...
dos2unix: converting file ike/source/qikea/about.ui to Unix format...
dos2unix: converting file ike/source/qikea/site.ui to Unix format...
dos2unix: converting file ike/source/qikea/qikea.1 to Unix format...
dos2unix: converting file ike/source/qikea/root.ui to Unix format...
dos2unix: converting file ike/source/qikea/topology.ui to Unix format...
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/site_mod.png
dos2unix: Binary symbol 0x00 found at line 1
dos2unix: Skipping binary file ike/source/qikea/png/qikea.icns
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/site_add.png
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/policy_inc.png
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/ikea.png
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/site_con.png
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/site.png
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/logo_ssoft.png
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/site_del.png
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikea/png/policy_exc.png
dos2unix: converting file ike/source/qikea/site.cpp to Unix format...
dos2unix: converting file ike/source/qikea/qikea.h to Unix format...
dos2unix: converting file ike/source/ikec/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/ikec/ikec.1 to Unix format...
dos2unix: converting file ike/source/ikec/main.cpp to Unix format...
dos2unix: converting file ike/source/ikec/ikec.cpp to Unix format...
dos2unix: converting file ike/source/ikec/ikec.h to Unix format...
dos2unix: converting file ike/source/libpfk/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/libpfk/libpfk.h to Unix format...
dos2unix: converting file ike/source/libpfk/libpfk.cpp to Unix format...
dos2unix: converting file ike/source/liblog/liblog.h to Unix format...
dos2unix: converting file ike/source/liblog/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/liblog/liblog.cpp to Unix format...
dos2unix: converting file ike/source/qikec/qikec.1 to Unix format...
dos2unix: converting file ike/source/qikec/banner.ui to Unix format...
dos2unix: converting file ike/source/qikec/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/qikec/qikec.h to Unix format...
dos2unix: converting file ike/source/qikec/main.cpp to Unix format...
dos2unix: converting file ike/source/qikec/qikec.cpp to Unix format...
dos2unix: converting file ike/source/qikec/root.cpp to Unix format...
dos2unix: converting file ike/source/qikec/root.ui to Unix format...
dos2unix: converting file ike/source/qikec/filepass.ui to Unix format...
dos2unix: Binary symbol 0x1A found at line 2
dos2unix: Skipping binary file ike/source/qikec/png/ikec.png
dos2unix: Binary symbol 0x00 found at line 1
dos2unix: Skipping binary file ike/source/qikec/png/qikec.icns
dos2unix: converting file ike/source/qikec/qikec.pro to Unix format...
dos2unix: converting file ike/source/qikec/qikec.qrc to Unix format...
dos2unix: converting file ike/source/libike/manager.cpp to Unix format...
dos2unix: converting file ike/source/libike/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/libike/config.cpp to Unix format...
dos2unix: converting file ike/source/libike/manager.file.cpp to Unix format...
dos2unix: converting file ike/source/libike/client.cpp to Unix format...
dos2unix: converting file ike/source/libike/config.h to Unix format...
dos2unix: converting file ike/source/libike/libike.cpp to Unix format...
dos2unix: converting file ike/source/libike/libike.h to Unix format...
dos2unix: converting file ike/source/libike/client.h to Unix format...
dos2unix: converting file ike/source/libqt/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/compat/tun_ioctls.h to Unix format...
dos2unix: converting file ike/source/compat/winstring.h to Unix format...
dos2unix: converting file ike/source/compat/inttypes.h to Unix format...
dos2unix: converting file ike/source/libidb/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/libidb/base64.h to Unix format...
dos2unix: converting file ike/source/libidb/base64.cpp to Unix format...
dos2unix: converting file ike/source/libidb/libidb.cpp to Unix format...
dos2unix: converting file ike/source/libidb/libidb.h to Unix format...
dos2unix: converting file ike/source/version.h to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.io.pfkey.cpp to Unix format...
dos2unix: converting file ike/source/iked/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/iked/crypto.h to Unix format...
dos2unix: converting file ike/source/iked/ike.io.network.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.h to Unix format...
dos2unix: converting file ike/source/iked/xauth.h to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.exch.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.phase1.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.peer.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.config.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.proposal.cpp to Unix format...
dos2unix: converting file ike/source/iked/iked.conf.5 to Unix format...
dos2unix: converting file ike/source/iked/iked.idb.h to Unix format...
dos2unix: converting file ike/source/iked/conf.parse.yy to Unix format...
dos2unix: converting file ike/source/iked/ike.xauth.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.policy.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.exch.config.cpp to Unix format...
dos2unix: converting file ike/source/iked/crypto.cpp to Unix format...
dos2unix: converting file ike/source/iked/main.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.xconf.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.exch.phase1.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.exch.phase2.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.exch.inform.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.inform.cpp to Unix format...
dos2unix: converting file ike/source/iked/conf.token.ll to Unix format...
dos2unix: converting file ike/source/iked/ike.nethlp.cpp to Unix format...
dos2unix: converting file ike/source/iked/iked.conf.sample to Unix format...
dos2unix: converting file ike/source/iked/ike.names.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.lists.cpp to Unix format...
dos2unix: converting file ike/source/iked/iked.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.phase2.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.payload.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.idb.tunnel.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.keyfile.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.socket.cpp to Unix format...
dos2unix: converting file ike/source/iked/xconf.h to Unix format...
dos2unix: converting file ike/source/iked/iked.h to Unix format...
dos2unix: converting file ike/source/iked/ike.packet.cpp to Unix format...
dos2unix: converting file ike/source/iked/iked.8 to Unix format...
dos2unix: converting file ike/source/iked/ike.policy.cpp to Unix format...
dos2unix: converting file ike/source/iked/dhcp.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.io.admin.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.peerid.cpp to Unix format...
dos2unix: converting file ike/source/iked/ike.cpp to Unix format...
dos2unix: converting file ike/source/libith/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/libith/libith.cpp to Unix format...
dos2unix: converting file ike/source/libith/libith.h to Unix format...
dos2unix: converting file ike/source/test_ith/CMakeLists.txt to Unix format...
dos2unix: converting file ike/source/test_ith/main.cpp to Unix format...
dos2unix: converting file ike/.gitignore to Unix format...
root@jonny-meade:/usr/local/src# cd ike/
root@jonny-meade:/usr/local/src/ike# wget https://raw.githubusercontent.com/MaxChinni/ike-for-ubuntu/master/ike.patch
--2022-05-05 12:02:58-- https://raw.githubusercontent.com/MaxChinni/ike-for-ubuntu/master/ike.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32184 (31K) [text/plain]
Saving to: ‘ike.patch’
ike.patch 100%[===================>] 31,43K --.-KB/s in 0,008s
2022-05-05 12:02:58 (3,69 MB/s) - ‘ike.patch’ saved [32184/32184]
root@jonny-meade:/usr/local/src/ike# patch -p1 < ike.patch
patching file source/iked/conf.parse.yy
patching file source/iked/crypto.cpp
patching file source/iked/ike.cpp
patching file source/iked/ike.exch.config.cpp
patching file source/iked/ike.exch.inform.cpp
patching file source/iked/ike.exch.phase1.cpp
patching file source/iked/ike.exch.phase2.cpp
patching file source/iked/ike.idb.exch.cpp
patching file source/iked/ike.idb.phase1.cpp
patching file source/iked/ike.idb.phase2.cpp
patching file source/iked/ike.keyfile.cpp
patching file source/libike/manager.file.cpp
root@jonny-meade:/usr/local/src/ike# wget -O CMakeLists.txt https://raw.githubusercontent.com/MaxChinni/ike-for-ubuntu/master/CMakeLists.txt.impish
--2022-05-05 12:03:08-- https://raw.githubusercontent.com/MaxChinni/ike-for-ubuntu/master/CMakeLists.txt.impish
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8279 (8,1K) [text/plain]
Saving to: ‘CMakeLists.txt’
CMakeLists.txt 100%[===================>] 8,08K --.-KB/s in 0,001s
2022-05-05 12:03:09 (7,08 MB/s) - ‘CMakeLists.txt’ saved [8279/8279]
root@jonny-meade:/usr/local/src/ike# apt install build-essential libssl-dev libaudio-dev libcups2-dev cmake libedit-dev g++ flex bison
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bison is already the newest version (2:3.8.2+dfsg-1build1).
build-essential is already the newest version (12.9ubuntu3).
cmake is already the newest version (3.22.1-1ubuntu1).
flex is already the newest version (2.6.4-8build2).
g++ is already the newest version (4:11.2.0-1ubuntu1).
libcups2-dev is already the newest version (2.4.1op1-1ubuntu4).
libedit-dev is already the newest version (3.1-20210910-1build1).
libaudio-dev is already the newest version (1.9.4-7build1).
The following additional packages will be installed:
libssl3 libssl3:i386
Suggested packages:
libssl-doc
The following packages will be upgraded:
libssl-dev libssl3 libssl3:i386
3 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Need to get 0 B/6.212 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
(Reading database ... 244056 files and directories currently installed.)
Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.1_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.1) over (3.0.2-0ubuntu1) ...
Preparing to unpack .../libssl3_3.0.2-0ubuntu1.1_amd64.deb ...
De-configuring libssl3:i386 (3.0.2-0ubuntu1), to allow configuration of libssl3:
amd64 (3.0.2-0ubuntu1) ...
Unpacking libssl3:amd64 (3.0.2-0ubuntu1.1) over (3.0.2-0ubuntu1) ...
Preparing to unpack .../libssl3_3.0.2-0ubuntu1.1_i386.deb ...
Unpacking libssl3:i386 (3.0.2-0ubuntu1.1) over (3.0.2-0ubuntu1) ...
Setting up libssl3:amd64 (3.0.2-0ubuntu1.1) ...
Setting up libssl3:i386 (3.0.2-0ubuntu1.1) ...
Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
root@jonny-meade:/usr/local/src/ike# nano source/libi
libidb/ libike/ libip/ libith/
root@jonny-meade:/usr/local/src/ike# nano source/libidb/libidb.cpp
root@jonny-meade:/usr/local/src/ike# gedit source/libidb/libidb.cpp
** (gedit:19238): WARNING **: 12:04:35.786: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:19238): WARNING **: 12:04:35.786: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:19238): WARNING **: 12:04:50.838: Set document metadata failed: Setting attribute metadata::gedit-position not supported
root@jonny-meade:/usr/local/src/ike# cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=NO -DETCDIR=/etc -DNATT=YES -S. -Wno-dev
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.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
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using install prefix /usr ...
-- Using etc install path /etc ...
-- Using bin install path /usr/bin ...
-- Using sbin install path /usr/sbin ...
-- Using lib install path /usr/lib ...
-- Using man install path /usr/local/man ...
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using binary /usr/bin/flex ...
-- Using binary /usr/bin/bison ...
-- Performing Test NATT_FOUND
-- Performing Test NATT_FOUND - Success
-- Enabled NAT Traversal support ...
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/ike
root@jonny-meade:/usr/local/src/ike# make
[ 1%] Building CXX object source/libith/CMakeFiles/ss_ith.dir/libith.o
[ 3%] Linking CXX shared library libss_ith.so
[ 3%] Built target ss_ith
[ 4%] Building CXX object source/liblog/CMakeFiles/ss_log.dir/liblog.o
[ 6%] Linking CXX shared library libss_log.so
[ 6%] Built target ss_log
[ 7%] Building CXX object source/libidb/CMakeFiles/ss_idb.dir/libidb.o
[ 9%] Building CXX object source/libidb/CMakeFiles/ss_idb.dir/base64.o
[ 10%] Linking CXX shared library libss_idb.so
[ 10%] Built target ss_idb
[ 12%] Building CXX object source/libpfk/CMakeFiles/ss_pfk.dir/libpfk.o
[ 14%] Linking CXX shared library libss_pfk.so
[ 14%] Built target ss_pfk
[ 15%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/client.o
[ 17%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/config.o
[ 18%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/manager.o
[ 20%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/manager.file.o
/usr/local/src/ike/source/libike/manager.file.cpp: In member function ‘bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)’:
/usr/local/src/ike/source/libike/manager.file.cpp:660:34: warning: ‘int SHA1_Init(SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
660 | SHA1_Init( &ctx );
| ~~~~~~~~~^~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:49:27: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
| ^~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:661:36: warning: ‘int SHA1_Update(SHA_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
661 | SHA1_Update( &ctx, one, 20 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:662:35: warning: ‘int SHA1_Final(unsigned char*, SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
662 | SHA1_Final( key, &ctx );
| ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
| ^~~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:666:34: warning: ‘int SHA1_Init(SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
666 | SHA1_Init( &ctx );
| ~~~~~~~~~^~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:49:27: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
| ^~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:667:36: warning: ‘int SHA1_Update(SHA_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
667 | SHA1_Update( &ctx, one, 20 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:668:35: warning: ‘int SHA1_Final(unsigned char*, SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
668 | SHA1_Final( key + 20, &ctx );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
| ^~~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:672:34: warning: ‘int SHA1_Init(SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
672 | SHA1_Init( &ctx );
| ~~~~~~~~~^~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:49:27: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
| ^~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:673:36: warning: ‘int SHA1_Update(SHA_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
673 | SHA1_Update( &ctx, data.buff() + 40, pwlen );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~~
/usr/local/src/ike/source/libike/manager.file.cpp:674:35: warning: ‘int SHA1_Final(unsigned char*, SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
674 | SHA1_Final( one, &ctx );
| ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/libike/manager.file.cpp:45:
/usr/include/openssl/sha.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
| ^~~~~~~~~~
[ 21%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/libike.o
[ 23%] Linking CXX shared library libss_ike.so
[ 23%] Built target ss_ike
[ 25%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.frag.o
[ 26%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.o
[ 28%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.dns.o
[ 29%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.ip.o
[ 31%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.udp.o
[ 32%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.pcap.o
[ 34%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.queue.o
[ 35%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.route.o
[ 37%] Linking CXX shared library libss_ip.so
[ 37%] Built target ss_ip
[ 39%] Generating conf.token.cpp
[ 40%] Generating conf.parse.cpp
conf.parse.yy:59.1-14: warning: deprecated directive: ‘%error-verbose’, use ‘%define parse.error verbose’ [-Wdeprecated]
59 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
conf.parse.yy: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
[ 42%] Building CXX object source/iked/CMakeFiles/iked.dir/crypto.o
/usr/local/src/ike/source/iked/crypto.cpp: In function ‘bool dh_init(long int, DH**, long int*)’:
/usr/local/src/ike/source/iked/crypto.cpp:375:25: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
375 | DH * dh = DH_new();
| ~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/crypto.cpp:42:
/usr/include/openssl/dh.h:199:27: note: declared here
199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
| ^~~~~~
/usr/local/src/ike/source/iked/crypto.cpp:379:20: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
379 | DH_set0_pqg(dh, NULL, NULL, NULL);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/crypto.cpp:42:
/usr/include/openssl/dh.h:255:27: note: declared here
255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/crypto.cpp:380:22: warning: ‘int DH_set_length(DH*, long int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
380 | DH_set_length(dh,0);
| ~~~~~~~~~~~~~^~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/crypto.cpp:42:
/usr/include/openssl/dh.h:269:27: note: declared here
269 | OSSL_DEPRECATEDIN_3_0 int DH_set_length(DH *dh, long length);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/crypto.cpp:393:20: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
393 | DH_set0_pqg(dh, dh_p, NULL, NULL);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/crypto.cpp:42:
/usr/include/openssl/dh.h:255:27: note: declared here
255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/crypto.cpp:447:20: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
447 | DH_set0_pqg(dh, dh_p, NULL, dh_g);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/crypto.cpp:42:
/usr/include/openssl/dh.h:255:27: note: declared here
255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/crypto.cpp:456:29: warning: ‘int DH_generate_key(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
456 | if( !DH_generate_key( dh ) )
| ~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/crypto.cpp:42:
/usr/include/openssl/dh.h:223:27: note: declared here
223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
| ^~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/crypto.cpp:466:16: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
466 | DH_free( dh );
| ~~~~~~~^~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/crypto.cpp:42:
/usr/include/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
[ 43%] Building CXX object source/iked/CMakeFiles/iked.dir/conf.parse.o
[ 45%] Building CXX object source/iked/CMakeFiles/iked.dir/conf.token.o
[ 46%] Building CXX object source/iked/CMakeFiles/iked.dir/dhcp.o
[ 48%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.o
[ 50%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.exch.config.o
/usr/local/src/ike/source/iked/ike.exch.config.cpp: In member function ‘bool _IKED::config_client_xauth_send(IDB_CFG*, IDB_PH1*)’:
/usr/local/src/ike/source/iked/ike.exch.config.cpp:745:65: warning: ‘int MD5_Init(MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
745 | MD5_Init( &ctx );
| ~~~~~~~~^~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:49:27: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
| ^~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:746:67: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
746 | MD5_Update( &ctx, &id, sizeof( id ) );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:747:67: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
747 | MD5_Update( &ctx, cfg->tunnel->xauth.pass.buff(), cfg->tunnel->xauth.pass.size() );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:748:67: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
748 | MD5_Update( &ctx, cfg->tunnel->xauth.hash.buff(), cfg->tunnel->xauth.hash.size() );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:749:66: warning: ‘int MD5_Final(unsigned char*, MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
749 | MD5_Final( rslt.buff() + sizeof( id ), &ctx );
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
| ^~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:814:57: warning: ‘int MD5_Init(MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
814 | MD5_Init( &ctx );
| ~~~~~~~~^~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:49:27: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
| ^~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:815:59: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
815 | MD5_Update( &ctx, &id, sizeof( id ) );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:816:59: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
816 | MD5_Update( &ctx, cfg->tunnel->xauth.pass.buff(), cfg->tunnel->xauth.pass.size() );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:817:59: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
817 | MD5_Update( &ctx, cfg->tunnel->xauth.hash.buff(), cfg->tunnel->xauth.hash.size() );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:818:58: warning: ‘int MD5_Final(unsigned char*, MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
818 | MD5_Final( rslt.buff() + sizeof( id ), &ctx );
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:47,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/md5.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
| ^~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp: In member function ‘long int _IKED::config_chk_hash(IDB_PH1*, IDB_CFG*, long unsigned int)’:
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2484:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2484 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2486:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2486 | HMAC_Init_ex( ctx_prf, ph1->skeyid_a.buff(), ( int ) ph1->skeyid_a.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2487:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2487 | HMAC_Update( ctx_prf, ( unsigned char * ) &msgid, 4 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2488:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2488 | HMAC_Update( ctx_prf, cfg->hda.buff(), cfg->hda.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2489:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2489 | HMAC_Final( ctx_prf, hash_c.buff(), NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2491:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2491 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp: In member function ‘long int _IKED::config_message_send(IDB_PH1*, IDB_CFG*)’:
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2545:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2545 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2547:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2547 | HMAC_Init_ex( ctx_prf, ph1->skeyid_a.buff(), ( int ) ph1->skeyid_a.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2548:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2548 | HMAC_Update( ctx_prf, ( unsigned char * ) &cfg->msgid, sizeof( cfg->msgid ) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2549:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2549 | HMAC_Update( ctx_prf, packet.buff() + beg, end - beg );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2550:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2550 | HMAC_Final( ctx_prf, hash.buff(), 0 );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.config.cpp:2552:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2552 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.config.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
[ 51%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.exch.inform.o
/usr/local/src/ike/source/iked/ike.exch.inform.cpp: In member function ‘long int _IKED::inform_chk_hash(IDB_PH1*, IDB_XCH*)’:
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:402:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
402 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:404:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
404 | HMAC_Init_ex( ctx_prf, ph1->skeyid_a.buff(), ( int ) ph1->skeyid_a.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:405:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
405 | HMAC_Update( ctx_prf, ( unsigned char * ) &inform->msgid, 4 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:406:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
406 | HMAC_Update( ctx_prf, inform->hda.buff(), inform->hda.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:407:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
407 | HMAC_Final( ctx_prf, hash_c.buff(), NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:409:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
409 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp: In member function ‘long int _IKED::inform_gen_hash(IDB_PH1*, IDB_XCH*)’:
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:441:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
441 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:443:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
443 | HMAC_Init_ex( ctx_prf, ph1->skeyid_a.buff(), ( int ) ph1->skeyid_a.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:444:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
444 | HMAC_Update( ctx_prf, ( unsigned char * ) &inform->msgid, sizeof( inform->msgid ) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:445:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
445 | HMAC_Update( ctx_prf, inform->hda.buff(), inform->hda.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:446:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
446 | HMAC_Final( ctx_prf, inform->hash_l.buff(), 0 );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.inform.cpp:448:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
448 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.inform.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
[ 53%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.exch.phase1.o
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp: In member function ‘long int _IKED::process_phase1_send(IDB_PH1*)’:
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1047:95: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1047 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1049:77: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1049 | HMAC_Init_ex( ctx_prf, ph1->skeyid.buff(), ( int ) ph1->skeyid.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1050:76: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1050 | HMAC_Update( ctx_prf, ph1->tunnel->peer->psk.buff(), ph1->tunnel->peer->psk.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1051:75: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1051 | HMAC_Final( ctx_prf, psk_hash.buff(), NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1053:78: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1053 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp: In member function ‘long int _IKED::phase1_gen_keys(IDB_PH1*)’:
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1559:56: warning: ‘const BIGNUM* DH_get0_priv_key(const DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1559 | const BIGNUM *priv_key=DH_get0_priv_key((const DH*)ph1->dh);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/dh.h:262:37: note: declared here
262 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_priv_key(const DH *dh);
| ^~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1608:37: warning: ‘int DH_compute_key(unsigned char*, const BIGNUM*, DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1608 | long result = DH_compute_key( shared.buff(), gx, ph1->dh );
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/dh.h:224:27: note: declared here
224 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
| ^~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1659:55: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1659 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1661:37: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1661 | HMAC_Init_ex( ctx_prf, ph1->tunnel->peer->psk.buff(), ( int ) ph1->tunnel->peer->psk.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1665:44: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1665 | HMAC_Update( ctx_prf, ph1->nonce_l.buff(), ph1->nonce_l.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1666:44: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1666 | HMAC_Update( ctx_prf, ph1->nonce_r.buff(), ph1->nonce_r.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1670:44: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1670 | HMAC_Update( ctx_prf, ph1->nonce_r.buff(), ph1->nonce_r.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1671:44: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1671 | HMAC_Update( ctx_prf, ph1->nonce_l.buff(), ph1->nonce_l.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1674:35: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1674 | HMAC_Final( ctx_prf, skeyid_data, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1676:38: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1676 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1706:55: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1706 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1708:37: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1708 | HMAC_Init_ex( ctx_prf, nonce.buff(), ( int ) nonce.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1709:36: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1709 | HMAC_Update( ctx_prf, shared.buff(), shared.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1710:35: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1710 | HMAC_Final( ctx_prf, skeyid_data, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1712:38: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1712 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1731:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1731 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1733:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1733 | HMAC_Init_ex( ctx_prf, ph1->skeyid.buff(), ( int ) ph1->skeyid.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1734:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1734 | HMAC_Update( ctx_prf, shared.buff(), shared.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1735:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1735 | HMAC_Update( ctx_prf, ph1->cookies.i, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1736:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1736 | HMAC_Update( ctx_prf, ph1->cookies.r, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1737:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1737 | HMAC_Update( ctx_prf, ( unsigned char * ) "\0", 1 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1738:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1738 | HMAC_Final( ctx_prf, skeyid_data, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1753:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1753 | HMAC_Init_ex( ctx_prf, ph1->skeyid.buff(), ( int ) ph1->skeyid.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1754:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1754 | HMAC_Update( ctx_prf, skeyid_data, skeyid_size );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1755:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1755 | HMAC_Update( ctx_prf, shared.buff(), shared.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1756:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1756 | HMAC_Update( ctx_prf, ph1->cookies.i, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1757:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1757 | HMAC_Update( ctx_prf, ph1->cookies.r, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1758:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1758 | HMAC_Update( ctx_prf, ( unsigned char * ) "\1", 1 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1759:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1759 | HMAC_Final( ctx_prf, skeyid_data, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1774:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1774 | HMAC_Init_ex( ctx_prf, ph1->skeyid.buff(), ( int ) ph1->skeyid.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1775:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1775 | HMAC_Update( ctx_prf, skeyid_data, skeyid_size );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1776:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1776 | HMAC_Update( ctx_prf, shared.buff(), shared.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1777:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1777 | HMAC_Update( ctx_prf, ph1->cookies.i, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1778:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1778 | HMAC_Update( ctx_prf, ph1->cookies.r, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1779:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1779 | HMAC_Update( ctx_prf, ( unsigned char * ) "\2", 1 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1780:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1780 | HMAC_Final( ctx_prf, skeyid_data, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1821:29: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1821 | HMAC_Init_ex( ctx_prf, skeyid_data, skeyid_size, ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1822:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1822 | HMAC_Update( ctx_prf, ( unsigned char * ) "\0", 1 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1823:27: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1823 | HMAC_Final( ctx_prf, key_data, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1827:37: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1827 | HMAC_Init_ex( ctx_prf, skeyid_data, skeyid_size, ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1828:36: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1828 | HMAC_Update( ctx_prf, key_data + size - skeyid_size, skeyid_size );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1829:35: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1829 | HMAC_Final( ctx_prf, key_data + size, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1839:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1839 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp: In member function ‘long int _IKED::phase1_gen_hash_i(IDB_PH1*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1903:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1903 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1905:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1905 | HMAC_Init_ex( ctx_prf, sa->skeyid.buff(), ( int ) sa->skeyid.size(), sa->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1909:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1909 | HMAC_Update( ctx_prf, sa->xl.buff(), sa->xl.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1910:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1910 | HMAC_Update( ctx_prf, sa->xr.buff(), sa->xr.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1914:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1914 | HMAC_Update( ctx_prf, sa->xr.buff(), sa->xr.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1915:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1915 | HMAC_Update( ctx_prf, sa->xl.buff(), sa->xl.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1918:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1918 | HMAC_Update( ctx_prf, sa->cookies.i, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1919:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1919 | HMAC_Update( ctx_prf, sa->cookies.r, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1920:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1920 | HMAC_Update( ctx_prf, sa->hda.buff(), sa->hda.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1921:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1921 | HMAC_Update( ctx_prf, sa->idi.buff(), sa->idi.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1922:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1922 | HMAC_Final( ctx_prf, hash.buff(), NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1924:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1924 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp: In member function ‘long int _IKED::phase1_gen_hash_r(IDB_PH1*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1944:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1944 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1946:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1946 | HMAC_Init_ex( ctx_prf, sa->skeyid.buff(), ( int ) sa->skeyid.size(), sa->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1950:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1950 | HMAC_Update( ctx_prf, sa->xr.buff(), sa->xr.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1951:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1951 | HMAC_Update( ctx_prf, sa->xl.buff(), sa->xl.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1955:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1955 | HMAC_Update( ctx_prf, sa->xl.buff(), sa->xl.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1956:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1956 | HMAC_Update( ctx_prf, sa->xr.buff(), sa->xr.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1959:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1959 | HMAC_Update( ctx_prf, sa->cookies.r, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1960:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1960 | HMAC_Update( ctx_prf, sa->cookies.i, ISAKMP_COOKIE_SIZE );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1961:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1961 | HMAC_Update( ctx_prf, sa->hda.buff(), sa->hda.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1962:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1962 | HMAC_Update( ctx_prf, sa->idr.buff(), sa->idr.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1963:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1963 | HMAC_Final( ctx_prf, hash.buff(), NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase1.cpp:1965:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1965 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase1.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
[ 54%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.exch.phase2.o
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp: In member function ‘long int _IKED::phase2_gen_hash_i(IDB_PH1*, IDB_PH2*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1011:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1011 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1013:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1013 | HMAC_Init_ex( ctx_prf, ph1->skeyid_a.buff(), ( int ) ph1->skeyid_a.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1014:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1014 | HMAC_Update( ctx_prf, input.buff(), input.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1015:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1015 | HMAC_Final( ctx_prf, hash.buff(), NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1017:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1017 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp: In member function ‘long int _IKED::phase2_gen_hash_r(IDB_PH1*, IDB_PH2*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1050:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1050 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1052:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1052 | HMAC_Init_ex( ctx_prf, ph1->skeyid_a.buff(), ( int ) ph1->skeyid_a.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1053:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1053 | HMAC_Update( ctx_prf, input.buff(), input.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1054:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1054 | HMAC_Final( ctx_prf, hash.buff(), NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1056:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1056 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp: In member function ‘long int _IKED::phase2_gen_hash_p(IDB_PH1*, IDB_PH2*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1094:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1094 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1096:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1096 | HMAC_Init_ex( ctx_prf, ph1->skeyid_a.buff(), ( int ) ph1->skeyid_a.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1097:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1097 | HMAC_Update( ctx_prf, input.buff(), input.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1098:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1098 | HMAC_Final( ctx_prf, hash.buff(), 0 );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1100:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1100 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp: In member function ‘long int _IKED::phase2_gen_keys(IDB_PH1*, IDB_PH2*)’:
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1555:64: warning: ‘const BIGNUM* DH_get0_priv_key(const DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1555 | const BIGNUM *priv_key=DH_get0_priv_key((const DH*)ph2->dh);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/dh.h:262:37: note: declared here
262 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_priv_key(const DH *dh);
| ^~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1603:45: warning: ‘int DH_compute_key(unsigned char*, const BIGNUM*, DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1603 | long result = DH_compute_key( shared.buff(), gx, ph2->dh );
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/dh.h:224:27: note: declared here
224 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
| ^~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp: In member function ‘long int _IKED::phase2_gen_keys(IDB_PH1*, IDB_PH2*, long int, IKE_PROPOSAL*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1818:39: warning: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1818 | HMAC_CTX *ctx_prf=HMAC_CTX_new();
| ~~~~~~~~~~~~^~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1820:21: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1820 | HMAC_Init_ex( ctx_prf, ph1->skeyid_d.buff(), ( int ) ph1->skeyid_d.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1823:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1823 | HMAC_Update( ctx_prf, shared.buff(), shared.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1825:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1825 | HMAC_Update( ctx_prf, ( unsigned char * ) &proposal->proto, 1 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1826:20: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1826 | HMAC_Update( ctx_prf, ( unsigned char * ) &proposal->spi, 4 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1830:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1830 | HMAC_Update( ctx_prf, ph2->nonce_l.buff(), ph2->nonce_l.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1831:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1831 | HMAC_Update( ctx_prf, ph2->nonce_r.buff(), ph2->nonce_r.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1835:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1835 | HMAC_Update( ctx_prf, ph2->nonce_r.buff(), ph2->nonce_r.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1836:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1836 | HMAC_Update( ctx_prf, ph2->nonce_l.buff(), ph2->nonce_l.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1839:19: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1839 | HMAC_Final( ctx_prf, key_data, NULL );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1843:29: warning: ‘int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1843 | HMAC_Init_ex( ctx_prf, ph1->skeyid_d.buff(), ( int ) ph1->skeyid_d.size(), ph1->evp_hash, NULL );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1844:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1844 | HMAC_Update( ctx_prf, key_data + size - skeyid_size, skeyid_size );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1847:36: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1847 | HMAC_Update( ctx_prf, shared.buff(), shared.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1849:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1849 | HMAC_Update( ctx_prf, ( unsigned char * ) &proposal->proto, 1 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1850:28: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1850 | HMAC_Update( ctx_prf, ( unsigned char * ) &proposal->spi, 4 );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1854:36: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1854 | HMAC_Update( ctx_prf, ph2->nonce_l.buff(), ph2->nonce_l.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1855:36: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1855 | HMAC_Update( ctx_prf, ph2->nonce_r.buff(), ph2->nonce_r.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1859:36: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1859 | HMAC_Update( ctx_prf, ph2->nonce_r.buff(), ph2->nonce_r.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1860:36: warning: ‘int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1860 | HMAC_Update( ctx_prf, ph2->nonce_l.buff(), ph2->nonce_l.size() );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/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,
| ^~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1863:27: warning: ‘int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1863 | HMAC_Final( ctx_prf, key_data + size, 0 );
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
/usr/local/src/ike/source/iked/ike.exch.phase2.cpp:1866:22: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1866 | HMAC_CTX_free(ctx_prf);
| ~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:48,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.exch.phase2.cpp:42:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
[ 56%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.config.o
[ 57%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.inform.o
[ 59%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.lists.o
[ 60%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.phase1.o
/usr/local/src/ike/source/iked/ike.idb.phase1.cpp: In member function ‘bool _IDB_PH1::setup_dhgrp(IKE_PROPOSAL*)’:
/usr/local/src/ike/source/iked/ike.idb.phase1.cpp:679:46: warning: ‘const BIGNUM* DH_get0_pub_key(const DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
679 | const BIGNUM *pub_key=DH_get0_pub_key(dh);
| ~~~~~~~~~~~~~~~^~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.idb.phase1.cpp:42:
/usr/include/openssl/dh.h:263:37: note: declared here
263 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_pub_key(const DH *dh);
| ^~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.idb.phase1.cpp: In member function ‘void _IDB_PH1::clean()’:
/usr/local/src/ike/source/iked/ike.idb.phase1.cpp:807:24: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
807 | DH_free( dh );
| ~~~~~~~^~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.idb.phase1.cpp:42:
/usr/include/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
[ 62%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.phase2.o
/usr/local/src/ike/source/iked/ike.idb.phase2.cpp: In member function ‘bool _IDB_PH2::setup_dhgrp()’:
/usr/local/src/ike/source/iked/ike.idb.phase2.cpp:441:54: warning: ‘const BIGNUM* DH_get0_pub_key(const DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
441 | const BIGNUM *pub_key=DH_get0_pub_key(dh);
| ~~~~~~~~~~~~~~~^~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.idb.phase2.cpp:42:
/usr/include/openssl/dh.h:263:37: note: declared here
263 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_pub_key(const DH *dh);
| ^~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.idb.phase2.cpp: In member function ‘void _IDB_PH2::clean()’:
/usr/local/src/ike/source/iked/ike.idb.phase2.cpp:463:24: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
463 | DH_free( dh );
| ~~~~~~~^~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.idb.phase2.cpp:42:
/usr/include/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
[ 64%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.peer.o
[ 65%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.policy.o
[ 67%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.tunnel.o
[ 68%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.idb.exch.o
[ 70%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.io.admin.o
[ 71%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.io.network.o
[ 73%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.io.pfkey.o
/usr/local/src/ike/source/iked/ike.io.pfkey.cpp: In member function ‘long int _IKED::pfkey_recv_spadd(PFKI_MSG&)’:
/usr/local/src/ike/source/iked/ike.io.pfkey.cpp:681:25: warning: taking address of packed member of ‘sadb_msg’ may result in an unaligned pointer value [-Waddress-of-packed-member]
681 | &msg.header.sadb_msg_seq,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.io.pfkey.cpp: In member function ‘long int _IKED::pfkey_recv_getspi(PFKI_MSG&)’:
/usr/local/src/ike/source/iked/ike.io.pfkey.cpp:976:25: warning: taking address of packed member of ‘sadb_msg’ may result in an unaligned pointer value [-Waddress-of-packed-member]
976 | &msg.header.sadb_msg_seq,
| ^~~~~~~~~~~~~~~~~~~~~~~~
[ 75%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.keyfile.o
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘void log_openssl_errors()’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:67:56: warning: ‘long unsigned int ERR_get_error_line(const char**, int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
67 | unsigned long code = ERR_get_error_line( &file, &line );
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:51,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/err.h:411:15: note: declared here
411 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool prvkey_rsa_2_bdata(BDATA&, RSA*)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:105:37: warning: ‘int i2d_RSAPrivateKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
105 | int size = i2d_RSAPrivateKey( rsa, NULL );
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/openssl/dh.h:85,
from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:309:1: note: declared here
309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:109:30: warning: ‘int i2d_RSAPrivateKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
109 | if( i2d_RSAPrivateKey( rsa, &prvkey_buff ) < size )
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/dh.h:85,
from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:309:1: note: declared here
309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool bdata_2_prvkey_rsa(RSA**, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:119:33: warning: ‘RSA* d2i_RSAPrivateKey(RSA**, const unsigned char**, long int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
119 | *rsa = d2i_RSAPrivateKey( NULL, &prvkey_buff, ( long ) prvkey.size() );
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/dh.h:85,
from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:309:1: note: declared here
309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool pubkey_rsa_2_bdata(BDATA&, RSA*)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:128:36: warning: ‘int i2d_RSAPublicKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
128 | int size = i2d_RSAPublicKey( rsa, NULL );
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/openssl/dh.h:85,
from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:307:1: note: declared here
307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:132:29: warning: ‘int i2d_RSAPublicKey(const RSA*, unsigned char**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
132 | if( i2d_RSAPublicKey( rsa, &pubkey_buff ) < size )
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/dh.h:85,
from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:307:1: note: declared here
307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool bdata_2_pubkey_rsa(RSA**, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:142:32: warning: ‘RSA* d2i_RSAPublicKey(RSA**, const unsigned char**, long int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
142 | *rsa = d2i_RSAPublicKey( NULL, &pubkey_buff, ( long ) pubkey.size() );
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/dh.h:85,
from /usr/local/src/ike/source/iked/crypto.h:45,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:307:1: note: declared here
307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool prvkey_rsa_load_pem(BDATA&, FILE*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:863:35: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
863 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:46,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/evp.h:1346:22: note: declared here
1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:863:35: error: invalid conversion from ‘const rsa_st*’ to ‘RSA*’ {aka ‘rsa_st*’} [-fpermissive]
863 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| const rsa_st*
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool prvkey_rsa_load_p12(BDATA&, FILE*, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:890:35: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
890 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:46,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/evp.h:1346:22: note: declared here
1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:890:35: error: invalid conversion from ‘const rsa_st*’ to ‘RSA*’ {aka ‘rsa_st*’} [-fpermissive]
890 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| const rsa_st*
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool prvkey_rsa_load_pem(BDATA&, BDATA&, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:947:35: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
947 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:46,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/evp.h:1346:22: note: declared here
1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:947:35: error: invalid conversion from ‘const rsa_st*’ to ‘RSA*’ {aka ‘rsa_st*’} [-fpermissive]
947 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| const rsa_st*
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In function ‘bool prvkey_rsa_load_p12(BDATA&, BDATA&, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:985:35: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
985 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:46,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/evp.h:1346:22: note: declared here
1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:985:35: error: invalid conversion from ‘const rsa_st*’ to ‘RSA*’ {aka ‘rsa_st*’} [-fpermissive]
985 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| const rsa_st*
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In member function ‘bool _IKED::pubkey_rsa_read(BDATA&, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1020:35: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1020 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/src/ike/source/iked/crypto.h:46,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/evp.h:1346:22: note: declared here
1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1020:35: error: invalid conversion from ‘const rsa_st*’ to ‘RSA*’ {aka ‘rsa_st*’} [-fpermissive]
1020 | RSA *pkr=EVP_PKEY_get0_RSA(evp_pkey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| const rsa_st*
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In member function ‘bool _IKED::prvkey_rsa_encrypt(BDATA&, BDATA&, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1034:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1034 | int size = RSA_size( rsa );
| ~~~~~~~~^~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from /usr/local/src/ike/source/iked/crypto.h:49,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:204:27: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
| ^~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1037:35: warning: ‘int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1037 | size = RSA_private_encrypt(
| ~~~~~~~~~~~~~~~~~~~^
1038 | ( int ) hash.size(),
| ~~~~~~~~~~~~~~~~~~~~
1039 | hash.buff(),
| ~~~~~~~~~~~~
1040 | sign.buff(),
| ~~~~~~~~~~~~
1041 | rsa,
| ~~~~
1042 | RSA_PKCS1_PADDING );
| ~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from /usr/local/src/ike/source/iked/crypto.h:49,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:285:5: note: declared here
285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
| ^~~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1047:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1047 | RSA_free( rsa );
| ~~~~~~~~^~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from /usr/local/src/ike/source/iked/crypto.h:49,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp: In member function ‘bool _IKED::pubkey_rsa_decrypt(BDATA&, BDATA&, BDATA&)’:
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1060:28: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1060 | int size = RSA_size( rsa );
| ~~~~~~~~^~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from /usr/local/src/ike/source/iked/crypto.h:49,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:204:27: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
| ^~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1063:34: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1063 | size = RSA_public_decrypt(
| ~~~~~~~~~~~~~~~~~~^
1064 | ( int ) sign.size(),
| ~~~~~~~~~~~~~~~~~~~~
1065 | sign.buff(),
| ~~~~~~~~~~~~
1066 | hash.buff(),
| ~~~~~~~~~~~~
1067 | rsa,
| ~~~~
1068 | RSA_PKCS1_PADDING );
| ~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from /usr/local/src/ike/source/iked/crypto.h:49,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:288:5: note: declared here
288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
| ^~~~~~~~~~~~~~~~~~
/usr/local/src/ike/source/iked/ike.keyfile.cpp:1073:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1073 | RSA_free( rsa );
| ~~~~~~~~^~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from /usr/local/src/ike/source/iked/crypto.h:49,
from /usr/local/src/ike/source/iked/iked.h:106,
from /usr/local/src/ike/source/iked/ike.keyfile.cpp:42:
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
make[2]: *** [source/iked/CMakeFiles/iked.dir/build.make:378: source/iked/CMakeFiles/iked.dir/ike.keyfile.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:230: source/iked/CMakeFiles/iked.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
i have same problem. Please fix this issue for 22.04 LTS.
I've rasied #4 to address this issue, hope this helps.
First, I would like to thank everyone for the time and effort that went into the project. I can confirm that the software works with the pull request on the latest Ubuntu version. It can be successfully created and used.
Last week I updated from Ubuntu 21.10, where the tool worked perfectly, to Ubuntu 22.04. The iked couldn't start anymore as below:
where x.x.x.x is the IP of my VPN server.
I had a similar problem with ruby 3.1 on rbenv after the ubuntu upgrade so I reinstalled it.
So i thought to re-compile and reinstall ike, but I had a compile error as follows: [on first comment]