hardwarefresser has asked for the wisdom of the Perl Monks concerning the following question:
Dear Pearlmonks,
I need Net::SSLeay with SSLv2 and SSLv3 support to do some SSL-checks. There is a guide in the interweb (http://www.techstacks.com/howto/enable-sslv2-methods-in-netssleay.html)
I followed the guide step by step and got an error after performing the "make" command.
root@Kali:/media/sf_interVM/Net-SSLeay-1.72# make Skip blib/lib/Net/SSLeay.pod (unchanged) Skip blib/lib/Net/SSLeay.pm (unchanged) Skip blib/lib/Net/SSLeay/Handle.pm (unchanged) Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno +-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI +LE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.72\" -DXS_VERSION=\"1.72\" - +fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE" SSLeay.c SSLeay.xs: In function ‘XS_Net__SSLeay_CTX_v2_new’: SSLeay.xs:1410:28: warning: passing argument 1 of ‘SSL_CTX_new’ makes +pointer from integer without a cast RETVAL = SSL_CTX_new (SSLv2_method()); ^ In file included from SSLeay.xs:167:0: /usr/include/openssl/ssl.h:1693:10: note: expected ‘const struct SSL_M +ETHOD *’ but argument is of type ‘int’ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ SSLeay.c: In function ‘XS_Net__SSLeay_SSLv2_method’: SSLeay.c:8366:9: warning: assignment makes pointer from integer withou +t a cast RETVAL = SSLv2_method(); ^ ^CMakefile:356: recipe for target 'SSLeay.o' failed make: *** [SSLeay.o] Unterbrechung
can anybody give me a hint? I use Kali Linx 2 with SSLv2 enabled on openssl (openssl s_client connections work with SSLv2)
Thanks a lot!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compiling Net::SSLeay with SSLv2 Support
by syphilis (Archbishop) on Oct 19, 2015 at 23:00 UTC | |
|
Re: Compiling Net::SSLeay with SSLv2 Support
by hardwarefresser (Initiate) on Oct 20, 2015 at 14:02 UTC | |
|
Re: Compiling Net::SSLeay with SSLv2 Support
by u65 (Chaplain) on Oct 19, 2015 at 21:10 UTC | |
by hardwarefresser (Initiate) on Oct 20, 2015 at 07:37 UTC | |
|
Re: Compiling Net::SSLeay with SSLv2 Support
by Anonymous Monk on Oct 19, 2015 at 22:51 UTC |