Use libssh for server setup script

That gives some advantages in supported key types.
This commit is contained in:
Mykola Baibuz 2022-10-23 17:38:48 +03:00 committed by vladimir.kuznetsov
parent 0ec0cb1b19
commit a87610c856
3 changed files with 292 additions and 140 deletions

View file

@ -24,6 +24,8 @@ include("3rd/qtkeychain/qtkeychain.pri")
INCLUDEPATH += $$PWD/3rd/QSimpleCrypto/include
INCLUDEPATH += $$PWD/3rd/OpenSSL/include
INCLUDEPATH += $$PWD/3rd/qtkeychain/include
INCLUDEPATH += $$PWD/3rd/libssh/include
DEPENDPATH += $$PWD/3rd/OpenSSL/include
HEADERS += \
@ -211,6 +213,8 @@ linux:!android {
DEFINES += MVPN_LINUX
LIBS += /usr/lib/x86_64-linux-gnu/libcrypto.a
LIBS += /usr/lib/x86_64-linux-gnu/libssl.a
LIBS += $$PWD/3rd/libssh/build/src/libssh.a
LIBS += -lz
INCLUDEPATH += $$PWD/platforms/linux
}