added missing curly brackets
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 15 Apr 2009 18:37:59 +0000 (18:37 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 15 Apr 2009 18:37:59 +0000 (18:37 -0000)
src/libstrongswan/asn1/asn1.c

index ee11f01..3fe6ff7 100644 (file)
@@ -209,9 +209,13 @@ int asn1_known_oid(chunk_t object)
                else
                {
                        if (oid_names[oid].next)
+                       {
                                oid = oid_names[oid].next;
+                       }
                        else
+                       {
                                return OID_UNKNOWN;
+                       }
                }
        }
        return -1;