The typedef ECPARAMETERS is already defined, don't define it anew
authorRichard Levitte <levitte@openssl.org>
Thu, 10 Mar 2016 10:29:08 +0000 (11:29 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 10 Mar 2016 10:29:08 +0000 (11:29 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/ec/ec_asn1.c

index 3b0ba2e..301a5d3 100644 (file)
@@ -172,14 +172,14 @@ typedef struct x9_62_curve_st {
     ASN1_BIT_STRING *seed;
 } X9_62_CURVE;
 
-typedef struct ec_parameters_st {
+struct ec_parameters_st {
     long version;
     X9_62_FIELDID *fieldID;
     X9_62_CURVE *curve;
     ASN1_OCTET_STRING *base;
     ASN1_INTEGER *order;
     ASN1_INTEGER *cofactor;
-} ECPARAMETERS;
+} /* ECPARAMETERS */ ;
 
 struct ecpk_parameters_st {
     int type;