patches: remove_factory_reset patch
This commit is contained in:
parent
4857f97f49
commit
f97ee6c539
17
patches/remove_factory_reset.patch
Normal file
17
patches/remove_factory_reset.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/src/fr/anssi/smartpgp/SmartPGPApplet.java b/src/fr/anssi/smartpgp/SmartPGPApplet.java
|
||||
index c47870f..87162fb 100644
|
||||
--- a/src/fr/anssi/smartpgp/SmartPGPApplet.java
|
||||
+++ b/src/fr/anssi/smartpgp/SmartPGPApplet.java
|
||||
@@ -1261,10 +1261,12 @@ public final class SmartPGPApplet extends Applet {
|
||||
return;
|
||||
}
|
||||
|
||||
+/*
|
||||
if(data.admin_pin.getTriesRemaining() <= 0) {
|
||||
data.isTerminated = true;
|
||||
return;
|
||||
}
|
||||
+*/
|
||||
|
||||
assertAdmin();
|
||||
|
Loading…
Reference in New Issue
Block a user