EgtLock :

- corretto errore su Opzioni 2.
This commit is contained in:
Dario Sassi
2016-06-19 16:27:43 +00:00
parent a4c92ffe5d
commit 84fed1bda8
+2 -2
View File
@@ -96,9 +96,9 @@ ReadKey( const string& sKey, const string& sScramKey,
return false ;
if ( ! FromString( sClearKey.substr( 10, 6), nExpDays))
return false ;
nOpt1 = sClearKey[17] | ( ((unsigned char)sClearKey[18]) << 8) |
nOpt1 = ((unsigned char)sClearKey[17]) | ( ((unsigned char)sClearKey[18]) << 8) |
( ((unsigned char)sClearKey[19]) << 16) | ( ((unsigned char)sClearKey[20]) << 24) ;
nOpt2 = sClearKey[21] | ( ((unsigned char)sClearKey[22]) << 8) |
nOpt2 = ((unsigned char)sClearKey[21]) | ( ((unsigned char)sClearKey[22]) << 8) |
( ((unsigned char)sClearKey[23]) << 16) | ( ((unsigned char)sClearKey[24]) << 24) ;
if ( ! FromString( sClearKey.substr( 26, 6), nOptExpDays))
return false ;