You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Frédéric THOMAS (JIRA)" <ji...@apache.org> on 2012/11/14 02:26:12 UTC

[jira] [Commented] (FLEX-33260) An initial value in SHA256 for type 'int' must be between -2147483648 and 2147483647

    [ https://issues.apache.org/jira/browse/FLEX-33260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496735#comment-13496735 ] 

Frédéric THOMAS commented on FLEX-33260:
----------------------------------------

these variables have to be uint (unsigned 32 bits)
                
> An initial value in SHA256 for type 'int' must be between -2147483648 and 2147483647
> ------------------------------------------------------------------------------------
>
>                 Key: FLEX-33260
>                 URL: https://issues.apache.org/jira/browse/FLEX-33260
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>            Reporter: Michael Schmalle
>            Priority: Minor
>              Labels: EasyFix, Falcon
>             Fix For: Adobe Flex SDK Next
>
>
> flex\sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:111
> Warning: Initializer value 3144134277 for type 'int' must be between -2147483648 and 2147483647 inclusive. An initial value of -1150833019 will be used instead.
>             var h1:int = 0xbb67ae85;
>                          ^
> flex\sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:113
> Warning: Initializer value 2773480762 for type 'int' must be between -2147483648 and 2147483647 inclusive. An initial value of -1521486534 will be used instead.
>             var h3:int = 0xa54ff53a;
>                          ^
> sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:115
> Warning: Initializer value 2600822924 for type 'int' must be between -2147483648 and 2147483647 inclusive. An initial value of -1694144372 will be used instead.
>             var h5:int = 0x9b05688c;
>                          ^
> I do not know how to fix these but it looks like the initial value doesn't fit in an int.

--
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