comparison libtommath/bn_mp_fread.c @ 1511:5916af64acd4 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Sat, 17 Feb 2018 19:29:51 +0800
parents 8bba51a55704
children f52919ffd3b1
comparison
equal deleted inserted replaced
1457:32f990cc96b1 1511:5916af64acd4
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 /* read a bigint from a file stream in ASCII */ 19 /* read a bigint from a file stream in ASCII */
19 int mp_fread(mp_int *a, int radix, FILE *stream) 20 int mp_fread(mp_int *a, int radix, FILE *stream)
20 { 21 {
21 int err, ch, neg, y; 22 int err, ch, neg, y;
22 23
57 a->sign = neg; 58 a->sign = neg;
58 } 59 }
59 60
60 return MP_OKAY; 61 return MP_OKAY;
61 } 62 }
63 #endif
62 64
63 #endif 65 #endif
64 66
65 /* $Source$ */ 67 /* ref: $Format:%D$ */
66 /* $Revision$ */ 68 /* git commit: $Format:%H$ */
67 /* $Date$ */ 69 /* commit time: $Format:%ai$ */