diff options
author | Werner Koch <[email protected]> | 1998-02-02 14:36:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-02-02 14:36:06 +0000 |
commit | c8f12e218f81f9211920b6fe50a786b617a2aeae (patch) | |
tree | d042319be043090b02df4396c9880398b2b831ea /mpi/mpicoder.c | |
parent | auf tobold (diff) | |
download | gnupg-c8f12e218f81f9211920b6fe50a786b617a2aeae.tar.gz gnupg-c8f12e218f81f9211920b6fe50a786b617a2aeae.zip |
changed structure of trustdb
Diffstat (limited to 'mpi/mpicoder.c')
-rw-r--r-- | mpi/mpicoder.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mpi/mpicoder.c b/mpi/mpicoder.c index b371fa64a..efb5d0904 100644 --- a/mpi/mpicoder.c +++ b/mpi/mpicoder.c @@ -326,6 +326,14 @@ mpi_set_buffer( MPI a, const byte *buffer, unsigned nbytes, int sign ) alimb |= *p-- << 16 ; alimb |= *p-- << 24 ; #elif BYTES_PER_MPI_LIMB == 8 + alimb = *p-- ; + alimb |= *p-- << 8 ; + alimb |= *p-- << 16 ; + alimb |= *p-- << 24 ; + alimb |= *p-- << 32 ; + alimb |= *p-- << 40 ; + alimb |= *p-- << 48 ; + alimb |= *p-- << 56 ; #else #error please implement for this limb size. #endif |