commit 0736b02060962e75cedad7e06332699ac0a50528
Author: Simon Legner <Simon.Legner@gmail.com>
Date: 2020-03-07 14:50:00 +0100
fix #18879 - Allow to opt-out from JOSM's certificate amendment
diff --git a/src/org/openstreetmap/josm/gui/MainApplication.java b/src/org/openstreetmap/josm/gui/MainApplication.java
index 548c2c789..096c57dcb 100644
|
a
|
b
|
public PermissionCollection getPermissions(CodeSource codesource) {
|
| 832 | 832 | } |
| 833 | 833 | |
| 834 | 834 | try { |
| 835 | | CertificateAmendment.addMissingCertificates(); |
| | 835 | if (!"false".equals(Utils.getSystemProperty("josm.certificates"))) { |
| | 836 | CertificateAmendment.addMissingCertificates(); |
| | 837 | } |
| 836 | 838 | } catch (IOException | GeneralSecurityException ex) { |
| 837 | 839 | Logging.warn(ex); |
| 838 | 840 | Logging.warn(Logging.getErrorMessage(Utils.getRootCause(ex))); |