fix: simple signer correctly parse profile-EKUs
authorFelix Dörre <felix@dogcraft.de>
Sat, 10 Sep 2016 14:02:10 +0000 (16:02 +0200)
committerFelix Dörre <felix@dogcraft.de>
Mon, 12 Sep 2016 16:40:58 +0000 (18:40 +0200)
Change-Id: Iec644be800d86fe687acccf779383e90a68bd780

util-testing/org/cacert/gigi/util/SimpleSigner.java

index 900491722a3ec5f337d6d9d53d0769c7e23cd8e7..1344d56229632eb2922babf7588e0543dd432f8b 100644 (file)
@@ -514,6 +514,7 @@ public class SimpleSigner {
 
         try (DerOutputStream dos = new DerOutputStream()) {
             for (String name : eku.split(",")) {
+                name = name.trim();
                 ObjectIdentifier oid;
                 switch (name) {
                 case "serverAuth":