Skip to content

Commit 91657a7

Browse files
committed
Suppress deprecation warnings by OpenSSL 3
1 parent c002382 commit 91657a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/openssl/extconf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
if with_config("debug") or enable_config("debug")
2626
$defs.push("-DOSSL_DEBUG")
2727
end
28+
$defs.push("-D""OPENSSL_SUPPRESS_DEPRECATED")
2829

2930
have_func("rb_io_maybe_wait") # Ruby 3.1
3031

0 commit comments

Comments
 (0)