Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2515

TLS Method error during make

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: Build Process
    • Labels:
      None

      Description

      Hi,
      currently I have checked out the git repository in revision 37042270ef670aad7b11c94e31bafc9d84092d76. I have checked out the repository because in some forum thread I have read, that my error was resolved in the git repo.

      My Problem is, that I get following errors due the make process:
      src/thrift/transport/TSSLSocket.cpp:73:24: error: use of undeclared identifier 'TLSv1_1_method'; did you
      mean 'TLSv1_method'?
      ctx_ = SSL_CTX_new(TLSv1_1_method());
      ^~~~~~~~~~~~~~
      TLSv1_method
      src/thrift/transport/TSSLSocket.cpp:77:24: error: use of undeclared identifier 'TLSv1_2_method'; did you
      mean 'TLSv1_method'?
      ctx_ = SSL_CTX_new(TLSv1_2_method());
      ^~~~~~~~~~~~~~
      TLSv1_method
      I have done following:
      ./configure CXXFLAGS='-g -O2'
      ./configure CFLAGS='-g -O2'
      ./configure CPPFLAGS='-DDEBUG_MY_FEATURE'
      make

      Thereafter I have got these two errors.
      Can someone help me and make a statement weather the bug is fixed ?

      Thanks and regards

        Attachments

        1. no_tls1_2.patch
          0.6 kB
          Martin Vogt

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              mwinkelmann Mike Winkelmann
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: