|
If you get the following error:
./sshcrypto.c:25: error: field key has incomplete type
./sshcrypto.c:30: error: expected specifierqualifierlist before des_key_schedule
./sshcrypto.c: In function blowfish_encrypt:
./sshcrypto.c:131: error: BF_ENCRYPT undeclared (first use in this function)
./sshcrypto.c:131: error: (Each undeclared identifier is reported only once
./sshcrypto.c:131: error: for each function it appears in.)
./sshcrypto.c: In function blowfish_decrypt:
./sshcrypto.c:143: error: BF_DECRYPT undeclared (first use in this function)
./sshcrypto.c: In function des3_init:
./sshcrypto.c:156: error: struct des3_state has no member named k1
./sshcrypto.c:157: error: struct des3_state has no member named k2
./sshcrypto.c:160: error: struct des3_state has no member named k3
./sshcrypto.c:162: error: struct des3_state has no member named k3
./sshcrypto.c:164: error: struct des3_state has no member named iv1
./sshcrypto.c:165: error: struct des3_state has no member named iv2
./sshcrypto.c:166: error: struct des3_state has no member named iv3
....
make: *** [sshcrypto.o] Error 1
Which results in the the tools sshmitm, tcpkill, tcpnice, urlsnarf, webmitm and webspy not being build. Add the following two lines to sshcrypto.c:
#include <openssl/des.h>
#include <openssl/blowfish.h> by marc at 2007-10-15 16:02:42
|