From: Richard Levitte Date: Sat, 16 Feb 2002 12:03:25 +0000 (+0000) Subject: The macro IMPLEMENT_ASN1_FUNCTIONS_const already contains an ending ;, X-Git-Tag: OpenSSL_0_9_6d~20^2~168 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e072aa535d9d48855d927dd5fa123e9687866cde;p=oweals%2Fopenssl.git The macro IMPLEMENT_ASN1_FUNCTIONS_const already contains an ending ;, so do not add one after the expansion, since ANSI C doesn't allow ;; at this level (or at least, so tells me gcc). --- diff --git a/crypto/ecdsa/ecs_asn1.c b/crypto/ecdsa/ecs_asn1.c index fe2ed62d11..b3bdd4e5fb 100644 --- a/crypto/ecdsa/ecs_asn1.c +++ b/crypto/ecdsa/ecs_asn1.c @@ -119,7 +119,7 @@ ASN1_CHOICE(EC_PARAMETERS) = { ASN1_SIMPLE(EC_PARAMETERS, value.implicitlyCA, ASN1_NULL) } ASN1_CHOICE_END(EC_PARAMETERS) -IMPLEMENT_ASN1_FUNCTIONS_const(EC_PARAMETERS); +IMPLEMENT_ASN1_FUNCTIONS_const(EC_PARAMETERS) ASN1_SEQUENCE(ECDSAPrivateKey) = { ASN1_SIMPLE(ECDSAPrivateKey, version, LONG),