summaryrefslogtreecommitdiffstats
path: root/luni
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-06-06 14:41:04 -0700
committerBrian Carlstrom <bdc@google.com>2013-06-06 14:41:11 -0700
commit166679d093d1bd51fde23952779b8d899d87674a (patch)
treee9bc38d3081ced25a8dd3c00866a4b0538724aea /luni
parent04d92ec6fd445613801688f45fa934cf39190605 (diff)
downloadlibcore-166679d093d1bd51fde23952779b8d899d87674a.zip
libcore-166679d093d1bd51fde23952779b8d899d87674a.tar.gz
libcore-166679d093d1bd51fde23952779b8d899d87674a.tar.bz2
Fix bug in DNParser change
Ensure emailAddress encoded as IA5String Bug: http://code.google.com/p/android/issues/detail?id=21531 Bug: 5580664 Change-Id: I19b432bc84468828258cbcd44266e4b712e6175d Bug: 9198822 Change-Id: I8a29f160e870f8deb4b8f3787bb69b4971942c5d
Diffstat (limited to 'luni')
-rw-r--r--luni/src/main/java/org/apache/harmony/security/x509/DNParser.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/luni/src/main/java/org/apache/harmony/security/x509/DNParser.java b/luni/src/main/java/org/apache/harmony/security/x509/DNParser.java
index a903b17..2f6fcb9 100644
--- a/luni/src/main/java/org/apache/harmony/security/x509/DNParser.java
+++ b/luni/src/main/java/org/apache/harmony/security/x509/DNParser.java
@@ -436,6 +436,7 @@ public final class DNParser {
if (attType == null) {
throw new IOException("Invalid distinguished name string");
}
+ oid = AttributeTypeAndValue.getObjectIdentifier(attType);
}
}
}