X-Git-Url: http://git.rot13.org/?p=bcm963xx.git;a=blobdiff_plain;f=userapps%2Fopensource%2Fsshd%2Flibtommath%2Fbn_mp_init_copy.c;h=b1b0fa2aa669312051cc0abd644c48626361cb7c;hp=f87ad1640c5d584b486ef6d26bdb4a7d21c66460;hb=57a096f051259ceaefd5977f30d269884e1dd248;hpb=a69849c98808437716b821267cd97529c56f45b0 diff --git a/userapps/opensource/sshd/libtommath/bn_mp_init_copy.c b/userapps/opensource/sshd/libtommath/bn_mp_init_copy.c index f87ad164..b1b0fa2a 100755 --- a/userapps/opensource/sshd/libtommath/bn_mp_init_copy.c +++ b/userapps/opensource/sshd/libtommath/bn_mp_init_copy.c @@ -1,9 +1,11 @@ +#include +#ifdef BN_MP_INIT_COPY_C /* LibTomMath, multiple-precision integer library -- Tom St Denis * - * LibTomMath is library that provides for multiple-precision + * LibTomMath is a library that provides multiple-precision * integer arithmetic as well as number theoretic functionality. * - * The library is designed directly after the MPI library by + * The library was designed directly after the MPI library by * Michael Fromberger but has been written from scratch with * additional optimizations in place. * @@ -12,11 +14,9 @@ * * Tom St Denis, tomstdenis@iahu.ca, http://math.libtomcrypt.org */ -#include /* creates "a" then copies b into it */ -int -mp_init_copy (mp_int * a, mp_int * b) +int mp_init_copy (mp_int * a, mp_int * b) { int res; @@ -25,3 +25,4 @@ mp_init_copy (mp_int * a, mp_int * b) } return mp_copy (b, a); } +#endif