summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_fwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_fwrite.c')
-rw-r--r--libtommath/bn_mp_fwrite.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/libtommath/bn_mp_fwrite.c b/libtommath/bn_mp_fwrite.c
index b0ec29e..23b5f64 100644
--- a/libtommath/bn_mp_fwrite.c
+++ b/libtommath/bn_mp_fwrite.c
@@ -1,4 +1,4 @@
-#include <tommath.h>
+#include <tommath_private.h>
#ifdef BN_MP_FWRITE_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
@@ -12,9 +12,10 @@
* The library is free for all purposes without any express
* guarantee it works.
*
- * Tom St Denis, tomstdenis@gmail.com, http://math.libtomcrypt.com
+ * 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,5 +45,10 @@ int mp_fwrite(mp_int *a, int radix, FILE *stream)
XFREE (buf);
return MP_OKAY;
}
+#endif
#endif
+
+/* ref: $Format:%D$ */
+/* git commit: $Format:%H$ */
+/* commit time: $Format:%ai$ */