projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make string_to_hex/hex_to_string public
[openssl.git]
/
apps
/
enc.c
diff --git
a/apps/enc.c
b/apps/enc.c
index 7f25009ba94d19cbe6411d2c897251808103aa6d..9e7d0692641e446102e532ab77a3ee1c7d3a6d86 100644
(file)
--- a/
apps/enc.c
+++ b/
apps/enc.c
@@
-636,7
+636,7
@@
static int set_hex(char *in, unsigned char *out, int size)
BIO_printf(bio_err, "non-hex digit\n");
return (0);
}
- j = (unsigned char)
app_hex
(j);
+ j = (unsigned char)
OPENSSL_hexchar2int
(j);
if (i & 1)
out[i / 2] |= j;
else