projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some C compilers produce warnings or compilation errors if an attempt
[openssl.git]
/
crypto
/
asn1
/
i2d_pu.c
diff --git
a/crypto/asn1/i2d_pu.c
b/crypto/asn1/i2d_pu.c
index 85220b44d6861c4db2c05b828986060e4e36c895..44f186442e71cda969493ed545626544f18d9e7d 100644
(file)
--- 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_EC
case EVP_PKEY_EC:
- return(
ECPublicKey_get_octet_string
(a->pkey.eckey, pp));
+ return(
i2o_ECPublicKey
(a->pkey.eckey, pp));
#endif
default:
ASN1err(ASN1_F_I2D_PUBLICKEY,ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE);