aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/test/at/gv/egovernment
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src/test/at/gv/egovernment')
-rw-r--r--id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java
index 4bc7d52d6..81cdfb9f8 100644
--- a/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java
+++ b/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java
@@ -28,9 +28,9 @@ public class MOAIDAuthInitialiserTest extends UnitTestCase {
try {
KeyStore s = KeyStoreUtils.loadKeyStore("pkcs12","file:C:/Programme/ApacheGroup/abnahme/cert/keystore.p12","changeit");
System.out.println(s.getProvider().getClass().getName());
- Enumeration enum = s.aliases();
- while (enum.hasMoreElements()) {
- String element = (String) enum.nextElement();
+ Enumeration aliases = s.aliases();
+ while (aliases.hasMoreElements()) {
+ String element = (String) aliases.nextElement();
System.out.print(element+":");
System.out.println(s.getCertificate(element).getPublicKey().getAlgorithm());
System.out.println(s.getCertificate(element).getType());