File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ legacy = []
37
37
# Enables compilation of some older algorithms: md2 (hash), rc5 (block cypher) and enabled use of
38
38
# some weaker algorithms in SSL connections. These are generally not recommended for use.
39
39
weak-crypto = []
40
+ # Enables compilation of SSLv3, which is disabled by default.
41
+ ssl3 = []
40
42
# Enables compilation of the Camellia symmetric key block cypher. Since hardware acceleration for
41
43
# it is not available on most systems, this is not as used as AES.
42
44
camellia = []
Original file line number Diff line number Diff line change @@ -198,8 +198,6 @@ impl Build {
198
198
// No shared objects, we just want static libraries
199
199
. arg ( "no-shared" )
200
200
. arg ( "no-module" )
201
- // Should be off by default on OpenSSL 1.1.0, but let's be extra sure
202
- . arg ( "no-ssl3" )
203
201
// No need to build tests, we won't run them anyway
204
202
. arg ( "no-tests" )
205
203
// Nothing related to zlib please
@@ -222,6 +220,13 @@ impl Build {
222
220
configure. arg ( "no-legacy" ) ;
223
221
}
224
222
223
+ if cfg ! ( feature = "ssl3" ) {
224
+ configure. arg ( "enable-ssl3" ) . arg ( "enable-ssl3-method" ) ;
225
+ } else {
226
+ // Should be off by default on OpenSSL 1.1.0, but let's be extra sure
227
+ configure. arg ( "no-ssl3" ) ;
228
+ }
229
+
225
230
if cfg ! ( feature = "weak-crypto" ) {
226
231
configure
227
232
. arg ( "enable-md2" )
You can’t perform that action at this time.
0 commit comments