summaryrefslogtreecommitdiff
path: root/smcc/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-07-13 15:59:34 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-07-13 15:59:34 +0000
commit41faa97b96aa86cea1ece52022bbd1bfbe9e7956 (patch)
treea93977117da60fb6d9d2fe564aaa9dec55ba3157 /smcc/src/main/java/at/gv/egiz
parentc9a78b2fe698cfcb22f0928305043aafa8bff7f9 (diff)
downloadmocca-41faa97b96aa86cea1ece52022bbd1bfbe9e7956.tar.gz
mocca-41faa97b96aa86cea1ece52022bbd1bfbe9e7956.tar.bz2
mocca-41faa97b96aa86cea1ece52022bbd1bfbe9e7956.zip
String comparison...
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@946 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/main/java/at/gv/egiz')
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java b/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java
index b5515111..70a1e06c 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java
@@ -185,7 +185,7 @@ PINMgmtSignatureCard {
ASN1 issuer = cert_asn1.getElementAt(0).getElementAt(3);
String countryID = null;
for (int i = 0; i < issuer.getSize(); ++i) {
- if (issuer.getElementAt(i).getElementAt(0).getElementAt(0).gvString() == ASN1.OID_NAME_C) {
+ if (issuer.getElementAt(i).getElementAt(0).getElementAt(0).gvString().equals(ASN1.OID_NAME_C)) {
countryID = issuer.getElementAt(i).getElementAt(0).getElementAt(1).gvString();
break;
}