Skip to content

Commit 6336076

Browse files
committed
Use the original code from MRI openssl/extconf.rb
PullRequest: truffleruby/692
2 parents 750e917 + c525eca commit 6336076

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/main/c/openssl/extconf.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,7 @@ def find_openssl_library
113113

114114
Logging::message "=== Checking for OpenSSL features... ===\n"
115115
# compile options
116-
117-
# Ubuntu 16.04 explicitly configures OpenSSL without SSLv2 support as it's
118-
# considered insecure. Therefore, we never define HAVE_SSLV2_METHOD so the
119-
# pre-compiled extension can be used on Ubuntu.
120-
unless RUBY_ENGINE == 'truffleruby'
121-
have_func("SSLv2_method")
122-
end
123-
116+
have_func("RAND_egd")
124117
engines = %w{builtin_engines openbsd_dev_crypto dynamic 4758cca aep atalla chil
125118
cswift nuron sureware ubsec padlock capi gmp gost cryptodev aesni}
126119
engines.each { |name|

0 commit comments

Comments
 (0)