~ubuntu-branches/ubuntu/utopic/ruby-net-ssh/utopic

« back to all changes in this revision

Viewing changes to lib/net/ssh/transport/hmac/sha2_256_96.rb

  • Committer: Package Import Robot
  • Author(s): Paul van Tilburg
  • Date: 2012-05-24 20:55:35 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120524205535-af0bligbndbhj1se
Tags: 1:2.5.1-1
* New upstream release.
* debian/control:
  + Added myself to uploaders.
  + Bumped standards version to 3.9.3; no changes required.
  + Added a depend on ruby-test-unit; the one shipped with ruby1.8 is too
    old to run the tests.
  + Set the priority of the lib*-ruby transitional packages to extra.
* debian/copyright: converted to the Debian copyright format version 1.0.
* debian/patches:
  + Added patch disable-config-tests.patch to disable config tests for
    which the input config does not actually exist.
  + Added patch fix-test-inheritance.patch to fix some tests that use
    inheritance but forget to require the parent test file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
require 'net/ssh/transport/hmac/abstract'
 
2
 
 
3
module Net::SSH::Transport::HMAC
 
4
 
 
5
  if defined?(SHA2_256) # need openssl support
 
6
    # The SHA256-96 HMAC algorithm. This returns only the first 12 bytes of
 
7
    # the digest.
 
8
    class SHA2_256_96 < SHA2_256
 
9
      mac_length   12
 
10
    end
 
11
  end
 
12
 
 
13
end