Lines 1-6
Link Here
|
1 |
--- sslscan.c.orig 2016-03-24 21:02:55 UTC |
1 |
--- sslscan.c.orig 2016-11-06 13:27:11 UTC |
2 |
+++ sslscan.c |
2 |
+++ sslscan.c |
3 |
@@ -788,7 +788,7 @@ int testCompression(struct sslCheckOptio |
3 |
@@ -829,7 +829,7 @@ int testCompression(struct sslCheckOptio |
4 |
#endif |
4 |
#endif |
5 |
{ |
5 |
{ |
6 |
printf("%sOpenSSL version does not support compression%s\n", COL_RED, RESET); |
6 |
printf("%sOpenSSL version does not support compression%s\n", COL_RED, RESET); |
Lines 9-15
Link Here
|
9 |
} |
9 |
} |
10 |
|
10 |
|
11 |
// Disconnect SSL over socket |
11 |
// Disconnect SSL over socket |
12 |
@@ -1291,7 +1291,11 @@ int testCipher(struct sslCheckOptions *o |
12 |
@@ -1155,14 +1155,14 @@ int testRenegotiation(struct sslCheckOpt |
|
|
13 |
printf_verbose("Attempting SSL_do_handshake(ssl)\n"); |
14 |
SSL_do_handshake(ssl); // Send renegotiation request to server //TODO :: XXX hanging here |
15 |
|
16 |
- if (ssl->state == SSL_ST_OK) |
17 |
+ if (SSL_get_state(ssl) == SSL_ST_OK) |
18 |
{ |
19 |
res = SSL_do_handshake(ssl); // Send renegotiation request to server |
20 |
if( res != 1 ) |
21 |
{ |
22 |
printf_error("\n\nSSL_do_handshake() call failed\n"); |
23 |
} |
24 |
- if (ssl->state == SSL_ST_OK) |
25 |
+ if (SSL_get_state(ssl) == SSL_ST_OK) |
26 |
{ |
27 |
/* our renegotiation is complete */ |
28 |
renOut->supported = true; |
29 |
@@ -1504,7 +1504,11 @@ int testCipher(struct sslCheckOptions *o |
13 |
return false; |
30 |
return false; |
14 |
} |
31 |
} |
15 |
|
32 |
|