Skip to content

Commit

Permalink
Fix weak-crypto feature
Browse files Browse the repository at this point in the history
These flags are disabled by default at least in newer versions of openssl.
So They have to be explicitly enabled to be used.
  • Loading branch information
eaufavor committed Jan 27, 2022
1 parent 466ffd2 commit 05a80f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ impl Build {
.arg("no-md2")
.arg("no-rc5")
.arg("no-weak-ssl-ciphers");
} else {
configure
.arg("enable-md2")
.arg("enable-rc5")
.arg("enable-weak-ssl-ciphers");
}

if cfg!(not(feature = "camellia")) {
Expand Down

0 comments on commit 05a80f4

Please sign in to comment.