From 41faa97b96aa86cea1ece52022bbd1bfbe9e7956 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 13 Jul 2011 15:59:34 +0000 Subject: String comparison... git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@946 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smcc/src') 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; } -- cgit v1.2.3