Skip to content

Commit

Permalink
use correct TLS constant
Browse files Browse the repository at this point in the history
  • Loading branch information
romkey committed Jul 26, 2022
1 parent 878a808 commit 1d1bdab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/homebus/broker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def connect!
abort 'no broker'
end

@mqtt = MQTT::Client.connect(host: @host, port: @port, username: @username, password: @password, ssl: :TLSv2)
@mqtt = MQTT::Client.connect(host: @host, port: @port, username: @username, password: @password, ssl: :TLSv1_2)
end

def configured?
Expand Down
2 changes: 1 addition & 1 deletion lib/homebus/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Homebus
VERSION='0.23.0'
VERSION='0.23.1'
end

0 comments on commit 1d1bdab

Please sign in to comment.