Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Trying to add SSL_CTX_set_client_cert_cb to QSslSocketBackendPrivate
Forum Updated to NodeBB v4.3 + New Features

Trying to add SSL_CTX_set_client_cert_cb to QSslSocketBackendPrivate

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 872 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    borisa
    wrote on last edited by
    #1

    Hi,

    QT-5.7
    windows.

    I am trying to add a SSL_CTX_set_client_cert_cb ssl function in the QSslSocketBackendPrivate::initSslContext function.
    But i got
    "error LNK2019: unresolved external symbol _SSL_CTX_set_client_cert_cb referenced in function "public: bool __thiscall QSslSocketBackendPrivate::initSslContext(void)" "
    In the build (configure -shared -platform win32-msvc2015 -release -skip webengine -nomake examples -nomake tests -openssl -icu -I "c:\Libraries\OpenSSL-Win32\include" -L "c:\Libraries\OpenSSL-Win32\lib" -nomake examples )

    If I create a project then I can add the SSL_CTX_set_client_cert_cb function all will works good.
    Please help.

    K 1 Reply Last reply
    0
    • B borisa

      Hi,

      QT-5.7
      windows.

      I am trying to add a SSL_CTX_set_client_cert_cb ssl function in the QSslSocketBackendPrivate::initSslContext function.
      But i got
      "error LNK2019: unresolved external symbol _SSL_CTX_set_client_cert_cb referenced in function "public: bool __thiscall QSslSocketBackendPrivate::initSslContext(void)" "
      In the build (configure -shared -platform win32-msvc2015 -release -skip webengine -nomake examples -nomake tests -openssl -icu -I "c:\Libraries\OpenSSL-Win32\include" -L "c:\Libraries\OpenSSL-Win32\lib" -nomake examples )

      If I create a project then I can add the SSL_CTX_set_client_cert_cb function all will works good.
      Please help.

      K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      Try to rebuild Qt with -openssl-linked

      1 Reply Last reply
      2
      • B Offline
        B Offline
        borisa
        wrote on last edited by borisa
        #3

        Working

        Thanks

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved