Commit 4f206fd9 authored by topjohnwu's avatar topjohnwu

Fix compile errors

parent 72332854
...@@ -30,6 +30,9 @@ import java.util.Arrays; ...@@ -30,6 +30,9 @@ import java.util.Arrays;
public class SignBoot { public class SignBoot {
private static final int BOOT_IMAGE_HEADER_V1_RECOVERY_DTBO_SIZE_OFFSET = 1632;
private static final int BOOT_IMAGE_HEADER_V2_DTB_SIZE_OFFSET = 1648;
private static class PushBackRWStream extends FilterInputStream { private static class PushBackRWStream extends FilterInputStream {
private OutputStream out; private OutputStream out;
private int pos = 0; private int pos = 0;
...@@ -199,8 +202,6 @@ public class SignBoot { ...@@ -199,8 +202,6 @@ public class SignBoot {
private DEROctetString signature; private DEROctetString signature;
private PublicKey publicKey; private PublicKey publicKey;
private static final int FORMAT_VERSION = 1; private static final int FORMAT_VERSION = 1;
private static final int BOOT_IMAGE_HEADER_V1_RECOVERY_DTBO_SIZE_OFFSET = 1632;
private static final int BOOT_IMAGE_HEADER_V2_DTB_SIZE_OFFSET = 1648;
/** /**
* Initializes the object for signing an image file * Initializes the object for signing an image file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment