Fix a bug that manifests on ruby 1.9.1

git-svn-id: file:///home/svn/framework3/trunk@8053 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-01-01 16:55:21 +00:00
parent adc1c18f26
commit 20932176da
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def capture_boot_key
descrambler = [ 0x0b, 0x06, 0x07, 0x01, 0x08, 0x0a, 0x0e, 0x00, 0x03, 0x05, 0x02, 0x0f, 0x0d, 0x09, 0x0c, 0x04 ]
0.upto(keybytes.length-1) do |x|
descrambled << [ bootkey[ descrambler[x] ] ].pack("C")
descrambled << [ keybytes[ descrambler[x] ] ].pack("C")
end