SmartPGP/patches/remove_factory_reset.patch

18 lines
496 B
Diff
Raw Normal View History

2018-11-30 13:12:01 +00:00
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
2019-06-17 12:42:46 +00:00
@@ -1329,10 +1329,12 @@ public final class SmartPGPApplet extends Applet {
2018-11-30 13:12:01 +00:00
return;
}
+/*
if(data.admin_pin.getTriesRemaining() <= 0) {
data.isTerminated = true;
return;
}
+*/
assertAdmin();