diff options
Diffstat (limited to 'smcc/src/main/java/at/gv')
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java | 2 |
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;
}
|