This commit is contained in:
Steffen Jaeckel 2017-04-11 16:21:36 +02:00
parent e8e8fc4ccb
commit a8b81498d0
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@
* Tom St Denis, tstdenis82@gmail.com, http://libtom.org
*/
#ifndef LTM_NO_FILE
/* read a bigint from a file stream in ASCII */
int mp_fread(mp_int *a, int radix, FILE *stream)
{
@ -59,6 +60,7 @@ int mp_fread(mp_int *a, int radix, FILE *stream)
return MP_OKAY;
}
#endif
#endif

View File

@ -15,6 +15,7 @@
* Tom St Denis, tstdenis82@gmail.com, http://libtom.org
*/
#ifndef LTM_NO_FILE
int mp_fwrite(mp_int *a, int radix, FILE *stream)
{
char *buf;
@ -44,6 +45,7 @@ int mp_fwrite(mp_int *a, int radix, FILE *stream)
XFREE (buf);
return MP_OKAY;
}
#endif
#endif