With the latest IDF, I get the following link error:
c:/users/thomc/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\fujinet-v1\esp-idf\libssh\liblibssh.a(chachapoly.o):(.literal.chacha20_poly1305_aead_decrypt+0x8): undefined reference to `secure_memcmp'
c:/users/thomc/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\fujinet-v1\esp-idf\libssh\liblibssh.a(chachapoly.o): in function `chacha20_poly1305_aead_decrypt':
C:\Users\thomc\Workspace\fujinet-platformio/components\libssh\libssh\src/chachapoly.c:157: undefined reference to `secure_memcmp'
With the latest IDF, I get the following link error: