diff options
author | Bodo Möller <bodo@openssl.org> | 2002-04-17 11:31:20 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-04-17 11:31:20 +0000 |
commit | 8f182fdc6929708b30ce6f525e06841af636d32e (patch) | |
tree | 3a6ee759dcdd17e82298d4840191892a5e749e1c /crypto/ecdsa | |
parent | 1064acafc4b6892a36c016e53256a0590680afe4 (diff) |
'version' is not optional in the encoding
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/ecdsa')
-rw-r--r-- | crypto/ecdsa/ecs_asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecdsa/ecs_asn1.c b/crypto/ecdsa/ecs_asn1.c index f68081d42c..0b2baf7219 100644 --- a/crypto/ecdsa/ecs_asn1.c +++ b/crypto/ecdsa/ecs_asn1.c @@ -86,7 +86,7 @@ DECLARE_ASN1_ENCODE_FUNCTIONS_const(X9_62_CURVE, X9_62_CURVE) IMPLEMENT_ASN1_FUNCTIONS_const(X9_62_CURVE) ASN1_SEQUENCE(X9_62_EC_PARAMETERS) = { - ASN1_OPT(X9_62_EC_PARAMETERS, version, ASN1_INTEGER), + ASN1_SIMPLE(X9_62_EC_PARAMETERS, version, ASN1_INTEGER), ASN1_SIMPLE(X9_62_EC_PARAMETERS, fieldID, X9_62_FIELDID), ASN1_SIMPLE(X9_62_EC_PARAMETERS, curve, X9_62_CURVE), ASN1_SIMPLE(X9_62_EC_PARAMETERS, base, ASN1_OCTET_STRING), |