Mantis - Quercus
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
3513 |
|
minor |
always |
05-14-09 11:41 |
08-27-09 11:41 |
|
Reporter:
|
koreth |
Platform:
|
|
|
Assigned To:
|
nam |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
4.0.0 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
4.0.2 |
|
|
Summary:
|
0003513: PHP-style hash algorithm names not supported |
Description:
|
<?php
$x = hash('sha256', 'abcdefghijklmnop', true);
Complains that "sha256" is an unknown algorithm. HashModule.java has a mapping of PHP-style to Java-style algorithm names but the mapping is never actually used anywhere. Patch to start using it is attached. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | |
Attached Files:
|
patch.txt [^] (1,302 bytes) 05-14-09 11:41 patchv2.txt [^] (1,678 bytes) 05-14-09 11:53 |