aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/d2i_pu.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-04-09 12:01:21 +0000
committerBodo Möller <bodo@openssl.org>2002-04-09 12:01:21 +0000
commitd0561b5c2da1404f542743054c2fa45affce7042 (patch)
tree9260704ba9d4f211b79ff94ec74580044449e724 /crypto/asn1/d2i_pu.c
parent4f4b192402ce084c3cab202720bf59c9cde9904c (diff)
downloadopenssl-d0561b5c2da1404f542743054c2fa45affce7042.tar.gz
fix ECDSA handling
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/asn1/d2i_pu.c')
-rw-r--r--crypto/asn1/d2i_pu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/d2i_pu.c b/crypto/asn1/d2i_pu.c
index 81b5d0f820..f66d72fd7b 100644
--- a/crypto/asn1/d2i_pu.c
+++ b/crypto/asn1/d2i_pu.c
@@ -113,7 +113,7 @@ EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, unsigned char **pp,
#endif
#ifndef OPENSSL_NO_ECDSA
case EVP_PKEY_ECDSA:
- if ((ret->pkey.ecdsa = d2i_ECDSAPublicKey(&(ret->pkey.ecdsa),
+ if ((ret->pkey.ecdsa = ECDSAPublicKey_set_octet_string(&(ret->pkey.ecdsa),
(const unsigned char **)pp, length)) == NULL)
{
ASN1err(ASN1_F_D2I_PUBLICKEY, ERR_R_ASN1_LIB);