]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Update SHA1 code to RFC 6234
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 11 Oct 2011 00:43:14 +0000 (00:43 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 11 Oct 2011 00:43:14 +0000 (00:43 +0000)
commit9a426fab4d77f9ead096d9a892aae47d49c3ac53
tree4cb7b3b54fd2f849cae0e0e967bb1812bce4a2bb
parent21bb14654bcec59cac115ec0d6c95d9228e15319
Update SHA1 code to RFC 6234

RFC 6234 is an update to RFC 3174 from which the code was originally taken.
It has a slightly better code, and a better phrased license (simple 3-clause
BSD).

* main/sha1.c is sha1.c from RFC 6234 with formatting changes only.
* include/asterisk/sha1.h merges sha.h and sha-private.h from RFC 6234.
* Removed unused include of asterisk/sha1.h from main/channels.c

Review: https://reviewboard.asterisk.org/r/1503/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/sha1.h
main/channel.c
main/sha1.c