ruby/ext
Jun Aruga b26ddfd72f [ruby/openssl] Fix warnings about the OPENSSL_FIPS macro in OpenSSL 1.1.
The commit <c5b2bc1268> made the warnings below
in the case of OpenSSL 1.1 where the `OPENSSL_FIPS` macro is not defined.

```
$ bundle install --standalone

$ bundle exec rake compile -- \
  --with-openssl-dir=$HOME/.local/openssl-1.1.1t-debug \
  --with-cflags="-Wundef"
mkdir -p tmp/x86_64-linux/openssl/3.2.1
cd tmp/x86_64-linux/openssl/3.2.1
/usr/local/ruby-3.2.1/bin/ruby -I. -r.rake-compiler-siteconf.rb ../../../../ext/openssl/extconf.rb -- --with-openssl-dir=/home/jaruga/.local/openssl-1.1.1t-debug --with-cflags=-Wundef
...
gcc -I. -I/usr/local/ruby-3.2.1/include/ruby-3.2.0/x86_64-linux -I/usr/local/ruby-3.2.1/include/ruby-3.2.0/ruby/backward -I/usr/local/ruby-3.2.1/include/ruby-3.2.0 -I../../../../ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/home/jaruga/.local/openssl-1.1.1t-debug/include    -fPIC -Wundef  -o ossl.o -c ../../../../ext/openssl/ossl.c
../../../../ext/openssl/ossl.c: In function ‘ossl_fips_mode_get’:
../../../../ext/openssl/ossl.c:425:7: warning: "OPENSSL_FIPS" is not defined, evaluates to 0 [-Wundef]
  425 | #elif OPENSSL_FIPS
      |       ^~~~~~~~~~~~
../../../../ext/openssl/ossl.c: In function ‘ossl_fips_mode_set’:
../../../../ext/openssl/ossl.c:460:7: warning: "OPENSSL_FIPS" is not defined, evaluates to 0 [-Wundef]
  460 | #elif OPENSSL_FIPS
      |       ^~~~~~~~~~~~
../../../../ext/openssl/ossl.c: In function ‘Init_openssl’:
../../../../ext/openssl/ossl.c:1218:7: warning: "OPENSSL_FIPS" is not defined, evaluates to 0 [-Wundef]
 1218 | #elif OPENSSL_FIPS
      |       ^~~~~~~~~~~~
...
cp tmp/x86_64-linux/openssl/3.2.1/openssl.so tmp/x86_64-linux/stage/lib/openssl.so
```

b4228cbcd6
2023-05-19 09:25:11 +09:00
..
-test- [Bug#19161] Detect thread local storage specifier 2023-04-07 13:42:48 +09:00
bigdecimal [ruby/bigdecimal] fix: typo in document comments of f_BigDecimal function 2023-04-08 18:54:01 +00:00
cgi/escape Update the depend files 2023-02-28 09:09:00 -08:00
continuation Update the depend files 2023-02-28 09:09:00 -08:00
coverage Update the depend files 2023-02-28 09:09:00 -08:00
date Update the depend files 2023-02-28 09:09:00 -08:00
digest Update the depend files 2023-02-28 09:09:00 -08:00
erb/escape [ruby/erb] Skip using the extension for truffleruby as well 2022-11-27 06:30:48 +00:00
etc Update the depend files 2023-02-28 09:09:00 -08:00
fcntl [ruby/fcntl] Expose Fcntl::VERSION 2023-04-21 04:21:05 +00:00
fiddle Update the depend files 2023-02-28 09:09:00 -08:00
io Update the depend files 2023-02-28 09:09:00 -08:00
json Update the depend files 2023-02-28 09:09:00 -08:00
monitor Update the depend files 2023-02-28 09:09:00 -08:00
nkf [ruby/nkf] Expose NKF::GEM_VERSION 2023-04-14 03:43:17 +00:00
objspace Update VPATH for socket, & dependencies 2023-04-06 11:07:16 +01:00
openssl [ruby/openssl] Fix warnings about the OPENSSL_FIPS macro in OpenSSL 1.1. 2023-05-19 09:25:11 +09:00
pathname [ruby/pathname] Expose Pathname::VERSION 2023-04-14 12:42:36 +09:00
psych Update the depend files 2023-02-28 09:09:00 -08:00
pty Update the depend files 2023-02-28 09:09:00 -08:00
racc/cparse Update the depend files 2023-02-28 09:09:00 -08:00
rbconfig/sizeof Update the depend files 2023-02-28 09:09:00 -08:00
ripper Process parse.y without temporary files 2023-05-15 19:10:24 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket Update VPATH for socket, & dependencies 2023-04-06 11:07:16 +01:00
stringio [ruby/stringio] Drop support for ruby 2.6 or earlier 2023-05-08 07:21:21 +00:00
strscan Update the depend files 2023-02-28 09:09:00 -08:00
syslog [ruby/syslog] Improve the version extraction 2023-04-25 01:51:26 +00:00
win32 Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
win32ole [ruby/win32ole] Reuse WIN32OLE_VERSION for gem version 2023-04-21 04:46:10 +00:00
zlib Update the depend files 2023-02-28 09:09:00 -08:00
.document Remove removed files from ext/.document [ci skip] 2023-01-18 11:57:00 +09:00
extmk.rb MSWin: Use MESSAGE_BEGIN/MESSAGE_END instead of bare echo 2023-03-02 19:18:13 +09:00
Setup Clean up removed directories in ext/Setup* [ci skip] 2023-01-18 12:02:27 +09:00
Setup.atheos Clean up removed directories in ext/Setup* [ci skip] 2023-01-18 12:02:27 +09:00
Setup.nt Clean up removed directories in ext/Setup* [ci skip] 2023-01-18 12:02:27 +09:00