aboutsummaryrefslogtreecommitdiff
path: root/common/src/test/at
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/test/at')
-rw-r--r--common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java b/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java
index 06a72c570..a6d1847ce 100644
--- a/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java
+++ b/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java
@@ -81,8 +81,8 @@ public class KeyStoreUtilsTest extends TestCase {
String keyStoreURL = "file:data/test/security/client-certs/sicher-demo(buergerkarte).p12";
KeyStore ks = KeyStoreUtils.loadKeyStore("pkcs12", keyStoreURL, "buergerkarte");
assertEquals(1, ks.size());
- Enumeration enum = ks.aliases();
- String alias = (String)enum.nextElement();
+ Enumeration aliases = ks.aliases();
+ String alias = (String)aliases.nextElement();
X509Certificate cert = (X509Certificate)ks.getCertificate(alias);
assertEquals(new BigInteger("1044289238331").intValue(), cert.getSerialNumber().intValue());
}