]> git.evergreen-ils.org Git - working/SIPServer.git/commit
Convert checksum to hex value inside checksum() function
authorDan Scott <dan@coffeecode.net>
Tue, 21 Jun 2011 02:11:38 +0000 (22:11 -0400)
committerDan Scott <dan@coffeecode.net>
Tue, 21 Jun 2011 02:11:38 +0000 (22:11 -0400)
commit62d30ceae14ddf3d468dd4a7216794d52fb217b0
treebf3d62b91964767ba640004381a13ef730cc0a16
parentb1fb8b50b50a6cc59455358ae06d06ec9c08ef5c
Convert checksum to hex value inside checksum() function

Rather than returning the integer value of the checksum and converting
that to a hex value only when it is appended to the returned message,
return the hex value from checksum() itself. This enables the unit tests
for Sip::Checksum to be run meaningfully.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Sip.pm
Sip/Checksum.pm