opnsense-ports/net/rubygem-grpc/files/patch-src_ruby_lib_grpc.rb
Franco Fichtner a304ae0404 */*: sync with upstream
Taken from: HardenedBSD
2018-01-02 23:31:39 +01:00

11 lines
393 B
Ruby

--- src/ruby/lib/grpc.rb.orig 2017-12-31 07:02:12 UTC
+++ src/ruby/lib/grpc.rb
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ssl_roots_path = File.expand_path('../../../../etc/roots.pem', __FILE__)
+ssl_roots_path = '%%LOCALBASE%%/etc/ssl/cert.pem'
require_relative 'grpc/errors'
require_relative 'grpc/grpc'