You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mike Winkelmann (JIRA)" <ji...@apache.org> on 2014/05/06 22:36:15 UTC

[jira] [Updated] (THRIFT-2515) TLS Method error during make

     [ https://issues.apache.org/jira/browse/THRIFT-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Winkelmann updated THRIFT-2515:
------------------------------------

    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

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

Thanks and regards

  was:
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

Therafter I have got these two errors.

Thanks and regards


> TLS Method error during make
> ----------------------------
>
>                 Key: THRIFT-2515
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2515
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>            Reporter: Mike Winkelmann
>
> 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
> Therafter I have got these two errors.
> Can someone help me and make a statement weather the bug is fixed ?
> Thanks and regards



--
This message was sent by Atlassian JIRA
(v6.2#6252)