Mercurial > dropbear
comparison libtommath/bn_mp_fwrite.c @ 1470:8bba51a55704
Update to libtommath v1.0.1
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 08 Feb 2018 23:11:40 +0800 |
parents | 60fc6476e044 |
children | f52919ffd3b1 |
comparison
equal
deleted
inserted
replaced
1469:51043e868f55 | 1470:8bba51a55704 |
---|---|
13 * guarantee it works. | 13 * guarantee it works. |
14 * | 14 * |
15 * Tom St Denis, [email protected], http://libtom.org | 15 * Tom St Denis, [email protected], http://libtom.org |
16 */ | 16 */ |
17 | 17 |
18 #ifndef LTM_NO_FILE | |
18 int mp_fwrite(mp_int *a, int radix, FILE *stream) | 19 int mp_fwrite(mp_int *a, int radix, FILE *stream) |
19 { | 20 { |
20 char *buf; | 21 char *buf; |
21 int err, len, x; | 22 int err, len, x; |
22 | 23 |
42 } | 43 } |
43 | 44 |
44 XFREE (buf); | 45 XFREE (buf); |
45 return MP_OKAY; | 46 return MP_OKAY; |
46 } | 47 } |
48 #endif | |
47 | 49 |
48 #endif | 50 #endif |
49 | 51 |
50 /* $Source$ */ | 52 /* ref: $Format:%D$ */ |
51 /* $Revision$ */ | 53 /* git commit: $Format:%H$ */ |
52 /* $Date$ */ | 54 /* commit time: $Format:%ai$ */ |