]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Update SHA1 code to RFC 6234
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 11 Oct 2011 18:41:05 +0000 (18:41 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 11 Oct 2011 18:41:05 +0000 (18:41 +0000)
commit3275275a07fc2a081d5dc9c873da4c0b8558ab2d
tree5a437f8ecb2af6f68109f732845049cae0468e3c
parent1e1100cdb4faff1b0c41b87f1835daf694dc7bd2
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/

Merge-From: http://svn.asterisk.org/svn/asterisk/branches/1.8@340263

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