diff options
author | Bodo Möller <bodo@openssl.org> | 2002-04-12 08:57:01 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-04-12 08:57:01 +0000 |
commit | b975183c41718cc9eaa5d1f8265aeb8013239725 (patch) | |
tree | d7aebebbf30f4176789369fc01029997108ce848 /crypto/ecdsa | |
parent | 083100e2abe0f7b6cef91a4a5e267037af4e1904 (diff) |
ECDSA representation bugfixes
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 30e8bfb340..f68081d42c 100644 --- a/crypto/ecdsa/ecs_asn1.c +++ b/crypto/ecdsa/ecs_asn1.c @@ -647,7 +647,7 @@ ECDSA *ECDSAPublicKey_set_octet_string(ECDSA **a, const unsigned char **in, lon ECDSAerr(ECDSA_F_D2I_ECDSAPRIVATEKEY, ERR_R_EC_LIB); return 0; } - ECDSA_set_conversion_form(ret, (point_conversion_form_t)*in[0]); + ECDSA_set_conversion_form(ret, (point_conversion_form_t)(*in[0] & ~0x01)); return ret; } |