From 6a429741089b41c1f8d2c10a5a339097d47ced78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 6 Jan 2022 16:51:52 +0100 Subject: [PATCH] Ignore `crypto-policy-non-compliance-openssl` rpmlint issue. `SSL_CTX_set_cipher_list` is used as part of Ruby API to enable setting custom cipher list. --- ruby.rpmlintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ruby.rpmlintrc b/ruby.rpmlintrc index fcc3284..87622e0 100644 --- a/ruby.rpmlintrc +++ b/ruby.rpmlintrc @@ -23,6 +23,9 @@ addFilter(r'^rubygem-bundler\.noarch: E: non-executable-script /usr/share/gems/g # https://github.com/ruby/prime/pull/16 addFilter(r'^.*: E: non-executable-script /usr/share/gems/gems/(debug|net-(ftp|imap|pop)|prime)-[\d\.]+/bin/\w+ 644 ') +# Ruby provides API to set the cipher list. +addFilter(r'^ruby-libs\.\w+: W: crypto-policy-non-compliance-openssl /usr/lib(64)?/ruby/openssl.so SSL_CTX_set_cipher_list$') + # Nothing referred and no dependency information should be no problem. # https://bugs.ruby-lang.org/issues/16558#note-2 addFilter(r'^ruby-libs\.\w+: E: shared-library-without-dependency-information /usr/lib(64)?/ruby/enc/gb2312.so$')