Skip to content

Commit

Permalink
Amend 85ab4b6 (Fix Travis build)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallLars committed Jan 5, 2019
1 parent 85ab4b6 commit 8ee42bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cache: bundler
rvm:
- 2.0.0
before_install:
- gem install bundler -v < 2
- gem install bundler -v '< 2'
script:
- "bundle exec rake"
- "bundle exec rake test"
15 changes: 7 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,23 @@ GEM
thor (~> 0.19.4)
tins (~> 1.6)
docile (1.3.1)
jaro_winkler (1.5.2)
json (2.1.0)
parallel (1.12.1)
parser (2.5.3.0)
ast (~> 2.4.0)
power_assert (1.1.3)
powerpack (0.1.2)
rainbow (3.0.0)
rainbow (2.2.2)
rake
rake (12.3.2)
rdoc (6.1.1)
rubocop (0.62.0)
jaro_winkler (~> 1.5.1)
rdoc (4.3.0)
rubocop (0.50.0)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
parser (>= 2.3.3.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
rainbow (>= 2.2.2, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.4.0)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.10.0)
simplecov (0.16.1)
docile (~> 1.1)
Expand Down
2 changes: 1 addition & 1 deletion lib/openssl/ccm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def initialize(cipher, key, mac_len)
cipher_key_size = "256"
end

@cipher = OpenSSL::Cipher.new("#{cipher}-" + cipher_key_size + "-CBC")
@cipher = OpenSSL::Cipher.new("#{cipher.upcase}-" + cipher_key_size + "-CBC")
@key = key
@mac_len = mac_len
end
Expand Down

0 comments on commit 8ee42bc

Please sign in to comment.