diff options
Diffstat (limited to 'ext/digest/lib/sha1.rb')
-rw-r--r-- | ext/digest/lib/sha1.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/digest/lib/sha1.rb b/ext/digest/lib/sha1.rb new file mode 100644 index 0000000000..c4ac6f66ea --- /dev/null +++ b/ext/digest/lib/sha1.rb @@ -0,0 +1,14 @@ +# just for compatibility; requiring "sha1" is obsoleted +# +# $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $ +# $Id$ + +require 'digest/sha1' + +SHA1 = Digest::SHA1 + +class SHA1 + def self.sha1(*args) + new(*args) + end +end |