changeset 142:878d66dce6d3

fc-uicc-tool create-file needs to read the hex voodoo from a file
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 24 Feb 2021 17:32:03 +0000
parents a1aa8ee2da85
children be1a759453ef
files uicc/createfile.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/uicc/createfile.c	Wed Feb 24 17:25:28 2021 +0000
+++ b/uicc/createfile.c	Wed Feb 24 17:32:03 2021 +0000
@@ -18,7 +18,7 @@
 	unsigned len1, len2;
 	int rc;
 
-	rc = decode_hex_data_from_string(argv[1], inbuf, 1, 252);
+	rc = read_hex_data_file(argv[1], inbuf, 252);
 	if (rc < 0)
 		return(rc);
 	len1 = rc;