diff options
author | Bodo Möller <bodo@openssl.org> | 2002-04-09 14:01:21 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-04-09 14:01:21 +0200 |
commit | d0561b5c2da1404f542743054c2fa45affce7042 (patch) | |
tree | 9260704ba9d4f211b79ff94ec74580044449e724 /crypto/asn1/i2d_pu.c | |
parent | add usage examples (diff) | |
download | openssl-d0561b5c2da1404f542743054c2fa45affce7042.tar.xz openssl-d0561b5c2da1404f542743054c2fa45affce7042.zip |
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); |