diff options
author | Bodo Möller <bodo@openssl.org> | 2002-04-09 12:01:21 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-04-09 12:01:21 +0000 |
commit | d0561b5c2da1404f542743054c2fa45affce7042 (patch) | |
tree | 9260704ba9d4f211b79ff94ec74580044449e724 /crypto/asn1/i2d_pu.c | |
parent | 4f4b192402ce084c3cab202720bf59c9cde9904c (diff) |
fix ECDSA handling
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/asn1/i2d_pu.c')
-rw-r--r-- | crypto/asn1/i2d_pu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/i2d_pu.c b/crypto/asn1/i2d_pu.c index 2607734ebc..2fcc5554a7 100644 --- a/crypto/asn1/i2d_pu.c +++ b/crypto/asn1/i2d_pu.c @@ -85,7 +85,7 @@ int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp) #endif #ifndef OPENSSL_NO_ECDSA case EVP_PKEY_ECDSA: - return(i2d_ECDSAPublicKey(a->pkey.ecdsa, pp)); + return(ECDSAPublicKey_get_octet_string(a->pkey.ecdsa, pp)); #endif default: ASN1err(ASN1_F_I2D_PUBLICKEY,ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE); |