summaryrefslogtreecommitdiff
path: root/crypto/params_from_text.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-11-02 12:41:23 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-12-07 17:14:58 +1000
commitabdd3fa04f3401c4a542257fdd803ff4c4daf8ef (patch)
treec0f3c1467f25a05293e66baf8a93cb9ee8d2b8c9 /crypto/params_from_text.c
parentac093b3fe6ba3f21e874a25ddecc7c1b4dff2765 (diff)
downloadopenssl-new-abdd3fa04f3401c4a542257fdd803ff4c4daf8ef.tar.gz
Change OPENSSL_hexstr2buf_ex() & OPENSSL_buf2hexstr_ex() to pass the separator
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13294)
Diffstat (limited to 'crypto/params_from_text.c')
-rw-r--r--crypto/params_from_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/params_from_text.c b/crypto/params_from_text.c
index 9f74dc1075..d458d31b2e 100644
--- a/crypto/params_from_text.c
+++ b/crypto/params_from_text.c
@@ -145,7 +145,7 @@ static int construct_from_text(OSSL_PARAM *to, const OSSL_PARAM *paramdef,
if (ishex) {
size_t l = 0;
- if (!OPENSSL_hexstr2buf_ex(buf, buf_n, &l, value))
+ if (!OPENSSL_hexstr2buf_ex(buf, buf_n, &l, value, ':'))
return 0;
} else {
memcpy(buf, value, buf_n);