Issue Type: Bug Bug
Affects Versions: JRuby-OSSL 0.8.1
Assignee: Unassigned
Attachments: HMAC.java.patch, test_openssl_hmac.rb
Components: OpenSSL
Created: 04/Dec/12 3:36 PM
Description:

The mac.doFinal is using the ByteList.plain method to get the byte array. This has the side effect of transcoding to iso-8859-1. It should use the raw bytes of the data, and if the consumer requires another character encoding, they should transcode the data prior to calling update.

Attached patch that uses raw bytes. Also attached testcase.

Project: JRuby
Priority: Major Major
Reporter: Brian Gugliemetti
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to