Skip to content

Link problem for openssl 1.1.1.k #26

@bigriver73

Description

@bigriver73

Firstly, for openssl 1.1.1, the SSLv23_method should be changed to TLS_method. But there is still link problem even when building the test suites in the release package:
[100%] Linking CXX executable module-tests ../src/liboatpp-openssl.a(Connection.cpp.o): In function oatpp::openssl::Connection::ConnectionContext::init()': Connection.cpp:(.text+0xc8): undefined reference to SSL_state' ../src/liboatpp-openssl.a(Connection.cpp.o): In function oatpp::openssl::Connection::ConnectionContext::initAsync()::HandshakeCoroutine::act()': Connection.cpp:(.text+0x32f): undefined reference to SSL_state' collect2: error: ld returned 1 exit status make[2]: *** [test/CMakeFiles/module-tests.dir/build.make:152: test/module-tests] Error 1 make[1]: *** [CMakeFiles/Makefile2:142: test/CMakeFiles/module-tests.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
It is very strange that there is no definition of SSL_state in the openssl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions