mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 18:47:38 +00:00
Fix compile errors
This commit is contained in:
parent
7233285437
commit
4f206fd918
@ -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 {
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user