projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add ASN1_STRING_get0_data(), deprecate ASN1_STRING_data().
[openssl.git]
/
crypto
/
ec
/
ecx_meth.c
diff --git
a/crypto/ec/ecx_meth.c
b/crypto/ec/ecx_meth.c
index 354d3879467fa8a0ce96e4257f335fe8658ad7f6..f7179511ddd3ce4f7dee0c931bc039219d597c67 100644
(file)
--- a/
crypto/ec/ecx_meth.c
+++ b/
crypto/ec/ecx_meth.c
@@
-151,7
+151,7
@@
static int ecx_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8)
p = NULL;
plen = 0;
} else {
- p = ASN1_STRING_data(oct);
+ p = ASN1_STRING_
get0_
data(oct);
plen = ASN1_STRING_length(oct);
}