aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509v3/v3_conf.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-04-13 15:58:28 -0400
committerRich Salz <rsalz@openssl.org>2016-04-18 09:02:11 -0400
commit14f051a0ae3d752c50f419d3583e85fdf4c5bfc9 (patch)
tree16bb50151db9c67cd1dec3b1d25cc537fd10f874 /crypto/x509v3/v3_conf.c
parent9021a5dfb37fd3a6f7726f07ef0f27dcb71048e2 (diff)
downloadopenssl-14f051a0ae3d752c50f419d3583e85fdf4c5bfc9.zip
openssl-14f051a0ae3d752c50f419d3583e85fdf4c5bfc9.tar.gz
openssl-14f051a0ae3d752c50f419d3583e85fdf4c5bfc9.tar.bz2
Make string_to_hex/hex_to_string public
Give the API new names, document it. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509v3/v3_conf.c')
-rw-r--r--crypto/x509v3/v3_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_conf.c b/crypto/x509v3/v3_conf.c
index 01a3aa3..c7d2682 100644
--- a/crypto/x509v3/v3_conf.c
+++ b/crypto/x509v3/v3_conf.c
@@ -283,7 +283,7 @@ static X509_EXTENSION *v3_generic_extension(const char *ext, char *value,
}
if (gen_type == 1)
- ext_der = string_to_hex(value, &ext_len);
+ ext_der = OPENSSL_hexstr2buf(value, &ext_len);
else if (gen_type == 2)
ext_der = generic_asn1(value, ctx, &ext_len);