opnsense-ports/net/rubygem-rabbiter/files/patch-lib-rabbiter.rb
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
576 B
Ruby

--- lib/rabbiter.rb.orig 2013-07-21 22:07:28.000000000 +0900
+++ lib/rabbiter.rb 2013-07-21 22:08:26.000000000 +0900
@@ -149,9 +149,9 @@
@client = Gio::SocketClient.new
@client.tls = @options[:ssl]
@client.tls_validation_flags = :validate_all
- if Rabbit::Utils.windows?
+# if Rabbit::Utils.windows?
@client.tls_validation_flags -= :unknown_ca
- end
+# end
@connection = @client.connect_to_host(@options[:host], @options[:port])
@socket = @connection.socket
@socket.blocking = false