#61 ssldump-0.9 fails to compile with openssl-1.0.0c

open
Eric Rescorla
build (26)
5
2011-01-12
2011-01-12
No

I was installing ssldump the one written by eric rescorla (openssl guy) to capture the openssl handshake between client-server. I am pretty sure I could install it on last thursday 01/06/11, on one linux machine pair. Now when I try to install on the second one both have the same OS. I got errors about MD5 on ssl/ssldecode.c and I found a patch that tells you to include md5.h into this file and do 3 additional changes. Once that is done now I get the following.

./ssl/sslxprint.c: In function `sslx_print_certificate':
./ssl/sslxprint.c:85: warning: passing arg 2 of `d2i_X509' from incompatible pointer type
./ssl/sslxprint.c: In function `sslx_print_dn':
./ssl/sslxprint.c:177: warning: passing arg 2 of `d2i_X509_NAME' from
incompatible pointer type
gcc debug.o r_assoc.o r_bitfield.o r_data.o r_errors.o r_list.o r_replace.or_time.o network.o pcap-snoop.o proto_mod.o tcpconn.o tcppack.o null_analyze.o ciphersuites.o ssl.enums.o ssl_analyze.o ssl_rec.o ssldecode.o sslprint.o
sslxprint.o -o ssldump -L/usr/lib -lssl -lcrypto -lpcap -lmssl_rec.o(.text+0x2fe): In function `ssl_decode_rec_data':
./ssl/ssl_rec.c:167: undefined reference to `EVP_Cipher'
collect2: ld returned 1 exit status
make: *** [ssldump] Error 1

I am attaching the steps and output.

Discussion

  • make output

     
    Attachments