diff uicc/createfile.c @ 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 13ab44761ea6
children
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;