Commit | Line | Data |
---|---|---|
761884a9 FF |
1 | diff -u -r ../sslscan-1.11.7-rbsec/sslscan.c ./sslscan.c |
2 | --- ../sslscan-1.11.7-rbsec/sslscan.c 2016-06-13 08:42:11.000000000 -0400 | |
3 | +++ ./sslscan.c 2016-09-05 16:51:08.751161131 -0400 | |
4 | @@ -65,6 +65,7 @@ | |
5 | #endif | |
6 | #else | |
7 | #include <netdb.h> | |
8 | + #include <netinet/in.h> | |
9 | #include <sys/socket.h> | |
10 | #include <sys/select.h> | |
11 | #endif | |
12 | @@ -794,11 +795,11 @@ | |
13 | } | |
14 | } | |
15 | else | |
16 | -#endif | |
17 | { | |
18 | printf("%sOpenSSL version does not support compression%s\n", COL_RED, RESET); | |
19 | printf("%sRebuild with zlib1g-dev package for zlib support%s\n\n", COL_RED, RESET); | |
20 | } | |
21 | +#endif | |
22 | ||
23 | // Disconnect SSL over socket | |
24 | SSL_shutdown(ssl); | |
25 | @@ -3762,10 +3763,6 @@ | |
26 | case mode_multiple: | |
27 | printf("Version: %s%s%s\n%s\n%s\n", COL_GREEN, VERSION, RESET, | |
28 | SSLeay_version(SSLEAY_VERSION), RESET); | |
29 | -#ifdef OPENSSL_NO_SSL2 | |
30 | - printf("%sOpenSSL version does not support SSLv2%s\n", COL_RED, RESET); | |
31 | - printf("%sSSLv2 ciphers will not be detected%s\n\n", COL_RED, RESET); | |
32 | -#endif | |
33 | #ifdef OPENSSL_NO_SSL3 | |
34 | printf("%sOpenSSL version does not support SSLv3%s\n", COL_RED, RESET); | |
35 | printf("%sSSLv3 ciphers will not be detected%s\n", COL_RED, RESET); |