OID_EC_PUBLICKEY has a parameters field, defining the elliptic curve
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 27 Aug 2009 14:34:16 +0000 (16:34 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 27 Aug 2009 14:34:16 +0000 (16:34 +0200)
src/libstrongswan/asn1/asn1.c

index 0a585dc..464923e 100644 (file)
@@ -48,7 +48,6 @@ chunk_t asn1_algorithmIdentifier(int oid)
        /* some algorithmIdentifiers have a NULL parameters field and some do not */
        switch (oid)
        {
-               case OID_EC_PUBLICKEY:
                case OID_ECDSA_WITH_SHA1:
                case OID_ECDSA_WITH_SHA224:
                case OID_ECDSA_WITH_SHA256: