Skip to contentSkip to conversation

fix applesmc REV key

PATCH Applied René Rebe 3 participants 3 messages Mar 21, 2011 – Mar 22, 2011

lore
Share & tools
lore

René Rebe

author
#0 lore raw

PATCH 1/1 fix applesmc REV key

Fix applesmc REV key string literal hex encoding.

hw/applesmc.c renamed from hw/applesmc.c.vanilla +1 -1
@@ -188,7 +188,7 @@
         QLIST_REMOVE(d, node);
     }
 
-    applesmc_add_key(s, "REV ", 6, "\0x01\0x13\0x0f\0x00\0x00\0x03");
+    applesmc_add_key(s, "REV ", 6, "\x01\x13\x0f\x00\x00\x03");
     applesmc_add_key(s, "OSK0", 32, s->osk);
     applesmc_add_key(s, "OSK1", 32, s->osk + 32);
     applesmc_add_key(s, "NATJ", 1, "\0");
Signature · 4 lines
 René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
 DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478
 Managing Directors: Susanne Klaus, René Rebe
 http://exactcode.com | http://t2-project.org | http://rene.rebe.de
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · René Rebe

Fix applesmc REV key string literal hex encoding.

Alex

Quoted 19 lines
hw/applesmc.c renamed from hw/applesmc.c.vanilla +1 -1
@@ -188,7 +188,7 @@
        QLIST_REMOVE(d, node);
    }
 
-    applesmc_add_key(s, "REV ", 6, "\0x01\0x13\0x0f\0x00\0x00\0x03");
+    applesmc_add_key(s, "REV ", 6, "\x01\x13\x0f\x00\x00\x03");
    applesmc_add_key(s, "OSK0", 32, s->osk);
    applesmc_add_key(s, "OSK1", 32, s->osk + 32);
    applesmc_add_key(s, "NATJ", 1, "\0");
Signature · 5 lines
-- 
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478
Managing Directors: Susanne Klaus, René Rebe
http://exactcode.com | http://t2-project.org | http://rene.rebe.de
#2 lore raw
In reply to René Rebe
Quoted 8 lines · René Rebe

Fix applesmc REV key string literal hex encoding.

hw/applesmc.c line 194

Quoted 8 lines
hw/applesmc.c renamed from hw/applesmc.c.vanilla +1 -1
@@ -188,7 +188,7 @@
         QLIST_REMOVE(d, node);
     }
 
-    applesmc_add_key(s, "REV ", 6, "\0x01\0x13\0x0f\0x00\0x00\0x03");
+    applesmc_add_key(s, "REV ", 6, "\x01\x13\x0f\x00\x00\x03");
     applesmc_add_key(s, "OSK0", 32, s->osk);
     applesmc_add_key(s, "OSK1", 32, s->osk + 32);
     applesmc_add_key(s, "NATJ", 1, "\0");

Thanks, applied.

Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net