Fix compile errors

This commit is contained in:
topjohnwu 2019-07-06 23:04:24 -07:00
parent 7233285437
commit 4f206fd918

View File

@ -30,6 +30,9 @@ import java.util.Arrays;
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 OutputStream out;
private int pos = 0;
@ -199,8 +202,6 @@ public class SignBoot {
private DEROctetString signature;
private PublicKey publicKey;
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